From owner-freebsd-ports Sun May 4 07:24:03 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id HAA24186 for ports-outgoing; Sun, 4 May 1997 07:24:03 -0700 (PDT) Received: from nexis.net (customer-1.ican.net [198.133.36.101]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id HAA24155 for ; Sun, 4 May 1997 07:23:57 -0700 (PDT) Received: from localhost (james@localhost) by nexis.net (8.8.5/8.8.5) with SMTP id KAA03609; Sun, 4 May 1997 10:21:38 -0400 (EDT) Date: Sun, 4 May 1997 10:21:38 -0400 (EDT) From: James FitzGibbon To: Satoshi Asami cc: chuckr@mat.net, freebsd-ports@freebsd.org Subject: Re: Suggested change to apache port In-Reply-To: <199705040118.SAA27103@vader.cs.berkeley.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-ports@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Sat, 3 May 1997, Satoshi Asami wrote: > Ouch. I didn't think about that, what I needed was a way force all > the targets to a single value ("package" in my case) to avoid the file > mixups.... > > * I guess what I need is something like this: > * > * DEPENDS= ${PORTSDIR}/www/apache:patch > * BUILD_DEPENDS= perl5.003:${PORTSDIR}/lang/perl5:install > > Hmm. That's quite interesting, let me see if I can fix bsd.port.mk to > do it. But (assuming those override DEPENDS_TARGET in the > environment), you need to lose the ":install" at the end of > BUILD_DEPENDS or the package build will have the same problem as > before. Could you split out the value of ???_DEPENDS< and if there are three values, use the third as the target. If there are two, use whatever your default for that step would be ? (I could do this in perl. Make and shell I'm not as comfortable with). -- j.