Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Oct 2001 11:50:34 +1000
From:      "Harry Starr" <starr3@gccs.com.au>
To:        "current" <freebsd-current@freebsd.org>
Subject:   Re: Current makeworld seems broken.
Message-ID:  <007901c15a9b$f1495430$0a9811cb@gccs.com.au>

next in thread | raw e-mail | index | archive | help
The problem is the new inclusion of ipfilter stuff.

Make will change directory to .OBJDIR if it exists, and it does NOW that
there is an ipfilter SUBDIR.

A "fix" might be:

>>>
--- Makefile    Mon Oct 22 11:44:12 2001
+++ Makefile.new        Mon Oct 22 11:47:27 2001
@@ -2,7 +2,7 @@
 #
 # Doing a make install builds /usr/share/examples

-DIRS!= for i in *; do \
+DIRS!= cd ${.CURDIR}; for i in *; do \
            if test -d $$i -a $$i != CVS -a $$i != ipfilter; then \
                echo $$i; \
            fi; \
@@ -22,10 +22,10 @@
 beforeinstall: etc-examples ${SHARED}

 .for dir in ${DIRS}
-FILES!=        find -L ${dir} \( -name CVS -prune \) -o -type f -print
+FILES!=        cd ${.CURDIR}; find -L ${dir} \( -name CVS -prune
\) -o -type f-print
 .for file in ${FILES}
 copies::
-       ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 ${file}
${DDIR}/${file}
+       ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 ${.CURDIR}/${file}
${DDIR}/${file}
 .endfor
 .endfor
<<<



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?007901c15a9b$f1495430$0a9811cb>