Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 May 1997 10:21:38 -0400 (EDT)
From:      James FitzGibbon <james@nexis.net>
To:        Satoshi Asami <asami@vader.cs.berkeley.edu>
Cc:        chuckr@mat.net, freebsd-ports@freebsd.org
Subject:   Re: Suggested change to apache port
Message-ID:  <Pine.BSF.3.95q.970504102012.3588A-100000@nexis.net>
In-Reply-To: <199705040118.SAA27103@vader.cs.berkeley.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95q.970504102012.3588A-100000>