From owner-freebsd-ports Thu Aug 20 19:44:58 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA17074 for freebsd-ports-outgoing; Thu, 20 Aug 1998 19:44:58 -0700 (PDT) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from localhost.my.domain (ppp6434.on.bellglobal.com [206.172.208.26]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA17066; Thu, 20 Aug 1998 19:44:53 -0700 (PDT) (envelope-from hoek@FreeBSD.ORG) Received: from localhost (tim@localhost) by localhost.my.domain (8.8.8/8.8.8) with SMTP id WAA01727; Thu, 20 Aug 1998 22:43:46 -0400 (EDT) (envelope-from ac199@hwcn.org) X-Authentication-Warning: localhost.my.domain: tim owned process doing -bs Date: Thu, 20 Aug 1998 22:43:46 -0400 (EDT) From: Tim Vanderhoek X-Sender: tim@localhost Reply-To: ac199@hwcn.org To: Satoshi Asami cc: hoek@hwcn.org, obrien@NUXI.com, ports@FreeBSD.ORG Subject: Re: cvs commit: ports/lang/glibstdc++28 Makefile In-Reply-To: <199808210207.TAA10850@silvia.hip.berkeley.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, 20 Aug 1998, Satoshi Asami wrote: > We decided to stick it in post-install to give people chances to > change with the generated file (${TMPPLIST}). Maybe we can move it > back to after post-install and add a new target ("post-generate-plist"?) > for fiddling with it. Eek. Essentially that's what TMPPLIST=PLIST does. It's just a little draconian! Perhaps generate-plist: should not consider a non-existent ${PLIST} as an error. Then fake-pkg: would continue to flag the error (as it does now). However, if fake-pkg: found that ${TMPPLIST} did not exist, it would call generate-plist: (for a total of twice). This would allow a port to create ${PLIST} at any time during install, without forcing it to mess with TMPPLIST. > Personally I think it can just be solved by having ilu generate PLIST > in do-install. All you need to do is to change "post-install:" to > "do-install:" and add a "cd ${WRKSRC}; ${MAKE} install" in front of > that target, right? Yes, although as a matter of style I don't particularly like redefining the do-* targets unless they're truly being redefined. Another interesting one is TenDRA. It reads ${PLIST} to decide what files to install as part of its do-install target. If it is switched to use PLIST_SUB then, with the proposed bsd.port.mk, its do-install: must either move to post-install: (with a dummy do-install:... Ugh!) or it needs a do-install: generate-plist dependency. I happen to have already tested the latter solution (bento:/a/tmp/TenDRA). :-) -- This .sig is not innovative, witty, or profund. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message