summaryrefslogtreecommitdiff
path: root/emulators/linux_base-f10
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/linux_base-f10')
-rw-r--r--emulators/linux_base-f10/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/emulators/linux_base-f10/Makefile b/emulators/linux_base-f10/Makefile
index 097ddf154a36..d7c4b34822b7 100644
--- a/emulators/linux_base-f10/Makefile
+++ b/emulators/linux_base-f10/Makefile
@@ -122,7 +122,9 @@ EXTRACT_AFTER_ARGS?= | ${CPIO} -id --quiet
.include <bsd.port.pre.mk>
+.if !defined(PACKAGE_BUILDING) || (defined(PACKAGE_BUILDING) && !defined(LINUX_OSRELEASE) )
LINUX_OSRELEASE!= ${ECHO_CMD} `${SYSCTL} -n compat.linux.osrelease 2>/dev/null`
+.endif
.if ${LINUX_OSRELEASE}x == "x"
IGNORE= linuxulator is not (kld)loaded