Last active
December 6, 2019 22:15
-
-
Save rootwyrm/646c8cc97a4c626670adde5fc42ba61f to your computer and use it in GitHub Desktop.
Terrible ideas from RootWyrm
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## These are things that I have come up with which are extremely hazardous to your health. | |
| ## Don't tell portmgr@ | |
| .include <bsd.port.pre.mk> | |
| USES=kmod | |
| # XXX: Might require SSP_UNSAFE set true | |
| LOCAL_SRC_BASE=${LOCAL_BASE}/src | |
| # You REALLY need KMODDIR unless you want it dumped in /boot/kernel | |
| KMODDIR=${LOCAL_BASE}/share/terrible | |
| do-build: | |
| if [ -d /usr/src ]; blah blah you know what to do... | |
| cp -pR /usr/src ${LOCAL_BASE}/src stuff... | |
| for stuff in whatever; do ${MAKE} SRC_BASE=${LOCAL_SRC_BASE} ARCH=$$arch Your Ad Here |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment