Date: Tue, 26 Jun 2007 07:33:09 GMT From: Gabor Kovesdan <gabor@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 122330 for review Message-ID: <200706260733.l5Q7X9K9095868@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=122330 Change 122330 by gabor@gabor_server on 2007/06/26 07:32:42 - Set environment properly with setenv(1). [1] - We have to add -i there so that setenv(1) only set the explicitly specified variables, otherwise DESTDIR would be set again in the chrooted process. Pointed out by: sat [1] Affected files ... .. //depot/projects/soc2006/gabor_destdir/Mk/bsd.destdir.mk#7 edit Differences ... ==== //depot/projects/soc2006/gabor_destdir/Mk/bsd.destdir.mk#7 (text+ko) ==== @@ -55,7 +55,7 @@ ${MOUNT_DEVFS} ${DESTDIR}/dev; \ fi; \ ${ECHO_CMD} "===> Starting chrooted make in ${DESTDIR}..."; \ - ${CHROOT} ${DESTDIR} ${SH} -c "(cd ${BUILDDIR}; ${MAKE} ${DESTDIR_ENV} ${.TARGETS})"; \ + ${CHROOT} ${DESTDIR} ${SH} -c "(cd ${BUILDDIR}; ${SETENV} -i ${DESTDIR_ENV} ${MAKE} ${.TARGETS})"; \ ${UMOUNT} ${DESTDIR}${PORTSDIR_TMP_REL} .endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200706260733.l5Q7X9K9095868>