aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/linux_base-f10
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2011-07-21 12:39:21 +0800
committerlinimon <linimon@FreeBSD.org>2011-07-21 12:39:21 +0800
commitea9786fa37e688d5863f5125230d9525bef13b12 (patch)
tree1d811fe8e67e39a83d9cc36f48760b81cc1f3304 /emulators/linux_base-f10
parentda9fb59a3e09c0ade4079d20329ba0b7dc39f07c (diff)
downloadfreebsd-ports-gnome-ea9786fa37e688d5863f5125230d9525bef13b12.tar.gz
freebsd-ports-gnome-ea9786fa37e688d5863f5125230d9525bef13b12.tar.zst
freebsd-ports-gnome-ea9786fa37e688d5863f5125230d9525bef13b12.zip
Temporary workaround for INDEX building on pointyhat-west: allow override
of LINUX_OSRELEASE. pointyhat-west itself might have a different version of linux compat than whatever we are testing on the client nodes. The more general solution is in ports/135221, which needs a careful -exp run to test. Hat: portmgr
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