From owner-cvs-all Tue Apr 11 0:27:53 2000 Delivered-To: cvs-all@freebsd.org Received: from ms.tokyo.jcom.ne.jp (ms.tokyo.jcom.ne.jp [210.234.123.18]) by hub.freebsd.org (Postfix) with ESMTP id B30DA37B7F0; Tue, 11 Apr 2000 00:27:47 -0700 (PDT) (envelope-from knu@idaemons.org) Received: from daemon.local.idaemons.org (pc343042.tokyo.jcom.ne.jp [203.140.143.42]) by ms.tokyo.jcom.ne.jp (8.9.1/3.7W 03/13/00) with ESMTP id QAA03430; Tue, 11 Apr 2000 16:27:46 +0900 (JST) Received: by daemon.local.idaemons.org (8.9.3/3.7W) id QAA76846; Tue, 11 Apr 2000 16:27:14 +0900 (JST) Date: Tue, 11 Apr 2000 16:27:12 +0900 Message-ID: <86d7nxrtbj.wl@archon.local.idaemons.org> From: "Akinori -Aki- MUSHA" To: asami@FreeBSD.org Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: ports/chinese Makefile.inc ports/german Makefile.inc ports/japanese Makefile.inc ports/korean Makefile.inc ports/russian Makefile.inc ports/vietnamese Makefile.inc In-Reply-To: In your message of "Tue, 11 Apr 2000 14:11:56 +0900" <86hfd9rzkz.wl@archon.local.idaemons.org> References: <200004101634.JAA94507@freefall.freebsd.org> <86hfd9rzkz.wl@archon.local.idaemons.org> User-Agent: Wanderlust/1.1.1 (Purple Rain) EMIKO/1.13.12 (Euglena sociabilis) FLIM/1.13.2 (Kasanui) APEL/10.2 MULE XEmacs/21.1 (patch 9) (Canyonlands) (i386--freebsd) Organization: Associated I. Daemons X-PGP-Public-Key: finger knu@FreeBSD.org X-PGP-Fingerprint: 1BEF D9B2 BABD 25D7 659A FD08 89C2 F3BE E981 4E16 MIME-Version: 1.0 (generated by EMIKO 1.13.12 - "Euglena sociabilis") Content-Type: text/plain; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At Tue, 11 Apr 2000 14:11:56 +0900, I wrote: > Alas! Please use `?=' instead of `=' so a slave port in another > category can override the prefix for the master port's category! Unfortunately, I found bsd.port.mk does not include `${MASTERDIR}/../Makefile.inc' automatically while it includes `${.CURDIR}/../Makefile.inc'. I think it'd be bad if every slave port were to be forced to include `${.CURDIR}/../Makefile.inc' for itself before including `${MASTERDIR}/Makefile', so I'd suggest we prepare some files as follows: [/usr/share/mk/bsd.port.slave.mk] PORTSDIR?= /usr/ports .include "${PORTSDIR}/Mk/bsd.port.slave.mk" [EOF] [/usr/ports/Mk/bsd.port.slave.mk] # $FreeBSD$ .if exists(${.CURDIR}/../Makefile.inc) .include "${.CURDIR}/../Makefile.inc" .endif .include "${MASTERDIR}/Makefile" [EOF] And then replace each `.include "${MASTERDIR}/Makefile"' in the slave ports with `.include '. How about this idea? -- / /__ __ / ) ) ) ) / Akinori -Aki- MUSHA aka / (_ / ( (__( "If you choose not to decide you still have made a choice." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message