Date: Fri, 28 Jul 2006 16:30:23 GMT From: Gabor Kovesdan <gabor@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 102659 for review Message-ID: <200607281630.k6SGUNvY053140@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=102659 Change 102659 by gabor@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607281630.k6SGUNvY053140>