From owner-freebsd-current Tue Oct 23 18:42:42 2001 Delivered-To: freebsd-current@freebsd.org Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by hub.freebsd.org (Postfix) with ESMTP id E4A4B37B405 for ; Tue, 23 Oct 2001 18:42:37 -0700 (PDT) Received: from hades.hell.gr (patr530-a133.otenet.gr [212.205.215.133]) by mailsrv.otenet.gr (8.11.5/8.11.5) with ESMTP id f9O1gOO27068; Wed, 24 Oct 2001 04:42:24 +0300 (EEST) Received: (from charon@localhost) by hades.hell.gr (8.11.6/8.11.6) id f9O1g9u36152; Wed, 24 Oct 2001 04:42:09 +0300 (EEST) (envelope-from charon@labs.gr) Date: Wed, 24 Oct 2001 04:42:09 +0300 From: Giorgos Keramidas To: Mark Murray Cc: Peter Wemm , David Wolfskill , current@FreeBSD.ORG Subject: Re: It's baaack... -- ("make: don't know how to make copies. Stop") Message-ID: <20011024044208.D35538@hades.hell.gr> References: <20011023152715.54182380A@overcee.netplex.com.au> <200110231943.f9NJhTY15110@grimreaper.grondar.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200110231943.f9NJhTY15110@grimreaper.grondar.org> User-Agent: Mutt/1.3.22.1i X-GPG-Fingerprint: C1EB 0653 DB8B A557 3829 00F9 D60F 941A 3186 03B6 X-URL: http://labs.gr/~charon/ Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Oct 23, 2001 at 08:43:29PM +0100, Mark Murray wrote: > > Actually, it is possible for there to be no copies: target in > src/share/examples/. The copies: (actually copies::) > target is built up in a .for loop that may be empty. > > The fix is a dummy copies:: target. I've tested the following patch, and it works like a charm. At least, it let me build and install world with a clean /usr/obj :-) hades!sysop:[/usr/src/share/examples]# cvs -q dif -2cl | more Index: Makefile =================================================================== RCS file: /home/ncvs/src/share/examples/Makefile,v retrieving revision 1.29 diff -2 -c -r1.29 Makefile *** Makefile 20 Oct 2001 04:18:13 -0000 1.29 --- Makefile 22 Oct 2001 01:29:03 -0000 *************** *** 22,25 **** --- 22,29 ---- beforeinstall: etc-examples ${SHARED} + copies:: + + symlinks:: + .for dir in ${DIRS} FILES!= find -L ${dir} \( -name CVS -prune \) -o -type f -print -giorgos To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message