PERFORCE change 102670 for review
Gabor Kovesdan
gabor at FreeBSD.org
Fri Jul 28 18:22:51 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=102670
Change 102670 by gabor at 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.
More information about the p4-projects
mailing list