Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jun 2013 12:05:14 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r321735 - head/Mk
Message-ID:  <201306251205.r5PC5EFT092033@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306251205.r5PC5EFT092033>