From owner-freebsd-ports Sat May 3 12:11:11 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id MAA10482 for ports-outgoing; Sat, 3 May 1997 12:11:11 -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 MAA10476 for ; Sat, 3 May 1997 12:11:06 -0700 (PDT) Received: from localhost (james@localhost) by nexis.net (8.8.5/8.8.5) with SMTP id PAA29420; Sat, 3 May 1997 15:08:48 -0400 (EDT) Date: Sat, 3 May 1997 15:08:48 -0400 (EDT) From: James FitzGibbon To: Chuck Robey cc: freebsd-ports@freebsd.org Subject: Re: Suggested change to apache port In-Reply-To: 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 Tue, 29 Apr 1997, Chuck Robey wrote: > See what Satoshi just did! DEPENDS_TARGET, I think, does just what the > doctor ordered, sir! Sort of. Take the current state of the perl5 Apache module port : 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. I guess what I need is something like this: DEPENDS= ${PORTSDIR}/www/apache:patch BUILD_DEPENDS= perl5.003:${PORTSDIR}/lang/perl5:install -- j.