Date: Sun, 24 Jun 2007 15:38:35 GMT From: Gabor Kovesdan <gabor@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 122232 for review Message-ID: <200706241538.l5OFcZ64045808@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=122232 Change 122232 by gabor@gabor_server on 2007/06/24 15:38:09 - Move DESTDIR part to bsd.destdir.mk Affected files ... .. //depot/projects/soc2006/gabor_destdir/Mk/bsd.destdir.mk#1 add .. //depot/projects/soc2006/gabor_destdir/Mk/bsd.port.mk#26 edit Differences ... ==== //depot/projects/soc2006/gabor_destdir/Mk/bsd.port.mk#26 (text+ko) ==== @@ -1095,41 +1095,7 @@ .if defined(DESTDIR) && !empty(DESTDIR) && !defined(CHROOTED) -.for _target in ${.TARGETS} -${_target}: pre-chroot do-chroot post-chroot - @${TRUE} -.endfor - -.if !target(pre-chroot) -pre-chroot: - @${TRUE} -.endif - -.if !target(do-chroot) -do-chroot: - ${MKDIR} ${DESTDIR}${PORTSDIR} -# found=0; \ -# for i in `${MOUNT} | ${AWK} {'print $$3'}` ; do \ -# if [ `${REALPATH} ${DESTDIR}${PORTSDIR}` == `${REALPATH} $${i}` ]; then \ -# found=1; \ -# fi ; \ -# done ; \ -# if [ $${found} != 1 ]; then \ -# ${ECHO_CMD} "===> Nullmounting ${PORTSDIR} into ${DESTDIR}..."; \ -# ${MOUNT} -t nullfs ${PORTSDIR} ${DESTDIR}${PORTSDIR}; \ -# fi -.if !exists (${DESTDIR}/dev/null) - ${ECHO_CMD} "===> Mounting devfs into ${DESTDIR}..."; \ - ${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})" -.endif - -.if !target(post-chroot) -post-chroot: - @${TRUE} -.endif +.include "${PORTSDIR}/Mk/bsd.destdir.mk" .else
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200706241538.l5OFcZ64045808>