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
This commit is contained in:
Mark Linimon 2011-07-21 04:39:21 +00:00
parent 045bbebb8e
commit 867742e27e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=278066
3 changed files with 6 additions and 0 deletions

View File

@ -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

View File

@ -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

View File

@ -43,7 +43,9 @@ PREFIX_SUBDIR= ${PORTNAME}/
.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