Date: Tue, 11 Apr 2000 18:30:06 +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: <868zylrnmp.wl@archon.local.idaemons.org> In-Reply-To: In your message of "11 Apr 2000 01:34:45 -0700" <vqc4s99ox22.fsf@silvia.hip.berkeley.edu> References: <200004101634.JAA94507@freefall.freebsd.org> <86hfd9rzkz.wl@archon.local.idaemons.org> <86d7nxrtbj.wl@archon.local.idaemons.org> <vqc4s99ox22.fsf@silvia.hip.berkeley.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
At 11 Apr 2000 01:34:45 -0700, Satoshi Asami wrote: > I don't think you need to go that far. How about the following? > Basically it includes ${.CURDIR}/../Makefile.inc iff ${.CURDIR} is > different from ${MASTERDIR} (i.e., this is a slave port). Ah, yes. That should work fine. I forgot MASTERDIR is always defined before including `bsd.port.mk'. In fact, I once did just the same as you did but wasn't sure that works right. :) > I also moved the PKGNAME/DISTNAME setting up to within the pre.mk > section, otherwise a port that tests on the value of PKGNAME will be > dead. Neat. That would help much. > (I only tested "make package-name", but since everything is > conditionalized on ${PKGNAME}, I think it will work.) I usually do `make -V variable' to check the value of the variable. You can check DISTNAME, for example, by doing `make -V DISTNAME'. :) And actually everything goes quite well here at present as I've been testing. > Note that you don't even have to set PORTNAME/PORTVERSION in ko-Wnn > anymore! Sure, I know what we're about. Now I just say "Go right ahead and commit them soon!" :) -- / /__ __ / ) ) ) ) / 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?868zylrnmp.wl>