Author: bdrewery (ports committer)
Date: Fri Aug 30 01:32:47 2013
New Revision: 255048
URL: http://svnweb.freebsd.org/changeset/base/255048

Log:
  - Fix LOCAL_MTREE so it properly handles multiple files and quotes
    its value into submakes
  
  PR:           conf/179466
  Submitted by: Garrett Cooper <[email protected]>
  Approved by:  bapt
  MFC after:    2 weeks
  Sponsored by: EMC / Isilon Storage Division

Modified:
  head/Makefile.inc1

Modified: head/Makefile.inc1
==============================================================================
--- head/Makefile.inc1  Thu Aug 29 23:46:38 2013        (r255047)
+++ head/Makefile.inc1  Fri Aug 30 01:32:47 2013        (r255048)
@@ -265,7 +265,7 @@ WMAKEENV=   ${CROSSENV} \
                PATH=${TMPPATH}
 
 # make hierarchy
-HMAKE=         PATH=${TMPPATH} ${MAKE} LOCAL_MTREE=${LOCAL_MTREE}
+HMAKE=         PATH=${TMPPATH} ${MAKE} LOCAL_MTREE=${LOCAL_MTREE:Q}
 .if defined(NO_ROOT)
 HMAKE+=                PATH=${TMPPATH} METALOG=${METALOG} -DNO_ROOT
 .endif
@@ -814,7 +814,7 @@ distributeworld installworld: installche
        cd ${.CURDIR}/etc; ${CROSSENV} PATH=${TMPPATH} ${MAKE} \
            METALOG=${METALOG} ${IMAKE_INSTALL} ${IMAKE_MTREE} \
            DISTBASE=/base DESTDIR=${DESTDIR}/${DISTDIR}/base \
-           LOCAL_MTREE=${LOCAL_MTREE} distrib-dirs
+           LOCAL_MTREE=${LOCAL_MTREE:Q} distrib-dirs
 .endif
        ${_+_}cd ${.CURDIR}; ${IMAKE} re${.TARGET:S/world$//}; \
            ${IMAKEENV} rm -rf ${INSTALLTMP}
@@ -888,7 +888,7 @@ reinstall:
        @echo ">>> Making hierarchy"
        @echo "--------------------------------------------------------------"
        ${_+_}cd ${.CURDIR}; ${MAKE} -f Makefile.inc1 \
-           LOCAL_MTREE=${LOCAL_MTREE} hierarchy
+           LOCAL_MTREE=${LOCAL_MTREE:Q} hierarchy
        @echo
        @echo "--------------------------------------------------------------"
        @echo ">>> Installing everything"
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to