PERFORCE change 102659 for review
Gabor Kovesdan
gabor at FreeBSD.org
Fri Jul 28 16:30:24 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=102659
Change 102659 by gabor at gabor_spitfire on 2006/07/28 16:30:03
Add IS_JAILED variable to indicate if we are jailed.
PR: 63716
Submitted by: clement (with fixes from me)
Affected files ...
.. //depot/projects/soc2006/gabor_ports/Mk/bsd.port.mk#64 edit
Differences ...
==== //depot/projects/soc2006/gabor_ports/Mk/bsd.port.mk#64 (text+ko) ====
@@ -1157,6 +1157,10 @@
.endif
.endif
+.if !defined(IS_JAILED) && ${OSVERSION} >= 502104
+IS_JAILED!= if [ `${SYSCTL} -n security.jail.jailed` = "1" ] ; then echo YES; fi;
+.endif
+
# Get the object format.
.if !defined(PORTOBJFORMAT)
PORTOBJFORMAT!= ${TEST} -x /usr/bin/objformat && /usr/bin/objformat || ${ECHO_CMD} aout
More information about the p4-projects
mailing list