Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Jul 2006 18:22:49 GMT
From:      Gabor Kovesdan <gabor@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 102670 for review
Message-ID:  <200607281822.k6SIMn0Z071548@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=102670

Change 102670 by gabor@gabor_spitfire on 2006/07/28 18:22:10

	- s/echo/${ECHO_CMD}
	- Document IS_JAILED in the header

Affected files ...

.. //depot/projects/soc2006/gabor_ports/Mk/bsd.port.mk#65 edit

Differences ...

==== //depot/projects/soc2006/gabor_ports/Mk/bsd.port.mk#65 (text+ko) ====

@@ -1013,6 +1013,10 @@
 #				  has been specified in distinfo.  This is useful
 #				  when using an alternate FETCH_CMD.
 #
+# IS_JAILED	- You can test this variable to test if the build
+#				  is running in a jailed environment.  It can be
+#				  overridden for testing purposes.
+#
 # End of the list of all variables that need to be defined in a port.
 # Most port authors should not need to understand anything after this point.
 #
@@ -1158,7 +1162,7 @@
 .endif
 
 .if !defined(IS_JAILED) && ${OSVERSION} >= 502104
-IS_JAILED!=	if [ `${SYSCTL} -n security.jail.jailed` = "1" ] ; then echo YES; fi;
+IS_JAILED!=	if [ `${SYSCTL} -n security.jail.jailed` = "1" ] ; then ${ECHO_CMD} YES; fi;
 .endif
 
 # Get the object format.



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