Changeset View
Changeset View
Standalone View
Standalone View
emulators/linux_base-c6/Makefile
Show First 20 Lines • Show All 114 Lines • ▼ Show 20 Lines | |||||
OPTIONS_SUB= yes | OPTIONS_SUB= yes | ||||
REMOVE_DIRS= boot home media mnt proc root sys tmp var/log var/run var/tmp | REMOVE_DIRS= boot home media mnt proc root sys tmp var/log var/run var/tmp | ||||
REMOVE_FILES= bin/df bin/su etc/exports etc/group etc/gshadow etc/motd \ | REMOVE_FILES= bin/df bin/su etc/exports etc/group etc/gshadow etc/motd \ | ||||
etc/passwd etc/printcap etc/protocols etc/services etc/shadow | etc/passwd etc/printcap etc/protocols etc/services etc/shadow | ||||
.include <bsd.port.pre.mk> | .include <bsd.port.pre.mk> | ||||
.if ${LINUX_ARCH} == x86_64 && ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100105 | .if ${LINUX_ARCH} == x86_64 && ${OPSYS} == FreeBSD | ||||
jbeich: DragonFly doesn't have linuxulator. | |||||
SYSCTLMIB= kern.features.linux64 | SYSCTLMIB= kern.features.linux64 | ||||
.else | .else | ||||
SYSCTLMIB= compat.linux.osrelease | SYSCTLMIB= compat.linux.osrelease | ||||
.endif | .endif | ||||
post-patch: | post-patch: | ||||
@${RM} -r ${REMOVE_DIRS:S|^|${WRKSRC}/|} | @${RM} -r ${REMOVE_DIRS:S|^|${WRKSRC}/|} | ||||
@${RM} ${REMOVE_FILES:S|^|${WRKSRC}/|} | @${RM} ${REMOVE_FILES:S|^|${WRKSRC}/|} | ||||
Show All 28 Lines |
DragonFly doesn't have linuxulator.