PERFORCE change 122375 for review
Gabor Kovesdan
gabor at FreeBSD.org
Wed Jun 27 06:30:19 UTC 2007
http://perforce.freebsd.org/chv.cgi?CH=122375
Change 122375 by gabor at gabor_server on 2007/06/27 06:30:09
- Make post-chroot run in the chroot, after the chroot happened,
but before pre-everything. In this way, it can be used for
special preparing works if needed somewhere.
Affected files ...
.. //depot/projects/soc2006/gabor_destdir/Mk/bsd.destdir.mk#9 edit
.. //depot/projects/soc2006/gabor_destdir/Mk/bsd.port.mk#27 edit
Differences ...
==== //depot/projects/soc2006/gabor_destdir/Mk/bsd.destdir.mk#9 (text+ko) ====
@@ -26,7 +26,7 @@
.endfor
.for _target in ${.TARGETS}
-${_target}: pre-chroot do-chroot post-chroot
+${_target}: pre-chroot do-chroot
@${TRUE}
.endfor
@@ -59,8 +59,3 @@
${UMOUNT} ${DESTDIR}${PORTSDIR_TMP_REL}; \
${RMDIR} ${DESTDIR}${PORTSDIR_TMP_REL}
.endif
-
-.if !target(post-chroot)
-post-chroot:
- @${TRUE}
-.endif
==== //depot/projects/soc2006/gabor_destdir/Mk/bsd.port.mk#27 (text+ko) ====
@@ -4035,10 +4035,17 @@
# Please note that the order of the following targets is important, and
# should not be modified.
+.if !defined(CHROOTED)
_SANITY_SEQ= pre-everything check-makefile check-categories \
check-makevars check-desktop-entries check-depends \
check-deprecated check-vulnerable buildanyway-message \
options-message
+.else
+_SANITY_SEQ= post-chroot pre-everything check-makefile check-categories \
+ check-makevars check-desktop-entries check-depends \
+ check-deprecated check-vulnerable buildanyway-message \
+ options-message
+.endif
_FETCH_DEP= check-sanity
_FETCH_SEQ= fetch-depends pre-fetch pre-fetch-script \
do-fetch post-fetch post-fetch-script
More information about the p4-projects
mailing list