Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 May 1997 18:18:02 -0700 (PDT)
From:      asami@vader.cs.berkeley.edu (Satoshi Asami)
To:        james@nexis.net
Cc:        chuckr@mat.net, freebsd-ports@freebsd.org
Subject:   Re: Suggested change to apache port
Message-ID:  <199705040118.SAA27103@vader.cs.berkeley.edu>
In-Reply-To: <Pine.BSF.3.95q.970503150544.29311A-100000@nexis.net> (message from James FitzGibbon on Sat, 3 May 1997 15:08:48 -0400 (EDT))

next in thread | previous in thread | raw e-mail | index | archive | help
 * DEPENDS_TARGET= patch
 * DEPENDS=        ${PORTSDIR}/www/apache
 * BUILD_DEPENDS=  perl5.003:${PORTSDIR}/lang/perl5  
 * RUN_DEPENDS=    perl5.003:${PORTSDIR}/lang/perl5
 * 
 * I want to always do a "make patch" on ${PORTSDIR}/www/apache, since I need
 * the source in order to build my module.  I still want to do a 'make
 * install' if perl5 isn't found though.

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.

Satoshi



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199705040118.SAA27103>