svn commit: r321735 - head/Mk
Baptiste Daroussin
bapt at FreeBSD.org
Tue Jun 25 12:05:15 UTC 2013
Author: bapt
Date: Tue Jun 25 12:05:14 2013
New Revision: 321735
URL: http://svnweb.freebsd.org/changeset/ports/321735
Log:
Fix warning if compat.ia32.maxvmem sysctl does not exists and the ports tree is being used via bmake
Reported by: demon
Tested by: demon
Reviewed by: bdrewery
Modified:
head/Mk/bsd.port.mk
Modified: head/Mk/bsd.port.mk
==============================================================================
--- head/Mk/bsd.port.mk Tue Jun 25 11:50:20 2013 (r321734)
+++ head/Mk/bsd.port.mk Tue Jun 25 12:05:14 2013 (r321735)
@@ -1635,7 +1635,10 @@ PATCH_DEPENDS+= ${LOCALBASE}/bin/unzip:
HAVE_COMPAT_IA32_LIBS?= YES
.endif
.if !defined(HAVE_COMPAT_IA32_KERN)
-HAVE_COMPAT_IA32_KERN!= if ${SYSCTL} -n compat.ia32.maxvmem >/dev/null 2>&1; then echo YES; fi
+HAVE_COMPAT_IA32_KERN!= if ${SYSCTL} -n compat.ia32.maxvmem >/dev/null 2>&1; then echo YES; fi; echo
+.if empty(HAVE_COMPAT_IA32_KERN)
+.undef HAVE_COMPAT_IA32_KERN
+.endif
.endif
.endif
More information about the svn-ports-all
mailing list