Date: Tue, 11 Apr 2000 16:27:12 +0900 From: "Akinori -Aki- MUSHA" <knu@idaemons.org> 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 Message-ID: <86d7nxrtbj.wl@archon.local.idaemons.org> In-Reply-To: In your message of "Tue, 11 Apr 2000 14:11:56 %2B0900" <86hfd9rzkz.wl@archon.local.idaemons.org> References: <200004101634.JAA94507@freefall.freebsd.org> <86hfd9rzkz.wl@archon.local.idaemons.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <bsd.port.slave.mk>'. How about this idea? -- / /__ __ / ) ) ) ) / Akinori -Aki- MUSHA aka / (_ / ( (__( <knu@idaemons.org> "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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86d7nxrtbj.wl>