PERFORCE change 122330 for review
Gabor Kovesdan
gabor at FreeBSD.org
Tue Jun 26 07:33:10 UTC 2007
http://perforce.freebsd.org/chv.cgi?CH=122330
Change 122330 by gabor at 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
More information about the p4-projects
mailing list