From ea9786fa37e688d5863f5125230d9525bef13b12 Mon Sep 17 00:00:00 2001 From: linimon Date: Thu, 21 Jul 2011 04:39:21 +0000 Subject: 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 --- emulators/linux_base-f10/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'emulators/linux_base-f10') 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 +.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 -- cgit