Date: Fri, 22 Jun 2007 13:25:55 GMT From: Gabor Kovesdan <gabor@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 122144 for review Message-ID: <200706221325.l5MDPttK064400@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=122144 Change 122144 by gabor@gabor_server on 2007/06/22 13:25:32 - Fix typo - Nullmount PORTSDIR if not available in the jail - Mount devfs if not available in the jail Affected files ... .. //depot/projects/soc2006/gabor_destdir/Mk/bsd.port.mk#21 edit Differences ... ==== //depot/projects/soc2006/gabor_destdir/Mk/bsd.port.mk#21 (text+ko) ==== @@ -1090,11 +1090,18 @@ .include "${PORTSDIR}/Mk/bsd.commands.mk" # -# DESTDIR section to start a chrooted process if incoked with DESTDIR set +# DESTDIR section to start a chrooted process if invoked with DESTDIR set # .if defined(DESTDIR) && !empty(DESTDIR) && !defined(CHROOTED) .BEGIN: + ${MKDIR} ${DESTDIR}${PORTSDIR} +.if !exists(${DESTDIR}${PORTSDIR}/Makefile) + ${MOUNT} -t nullfs ${PORTSDIR} ${DESTDIR}${PORTSDIR} +.endif +.if !exists (${DESTDIR}/dev/null) + ${MOUNT} -t devfs devfs ${DESTDIR}/dev +.endif ${ECHO_CMD} "===> Starting chrooted make in ${DESTDIR}..."; \ ${CHROOT} ${DESTDIR} ${SH} -c "(cd ${.CURDIR}; ${MAKE} DESTDIR= CHROOTED=YES ${.TARGETS})" .else
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200706221325.l5MDPttK064400>