From owner-freebsd-ports Sat May 3 18:18:12 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id SAA28626 for ports-outgoing; Sat, 3 May 1997 18:18:12 -0700 (PDT) Received: from vader.cs.berkeley.edu (vader.CS.Berkeley.EDU [128.32.38.234]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id SAA28621 for ; Sat, 3 May 1997 18:18:10 -0700 (PDT) Received: (from asami@localhost) by vader.cs.berkeley.edu (8.8.5/8.7.3) id SAA27103; Sat, 3 May 1997 18:18:02 -0700 (PDT) Date: Sat, 3 May 1997 18:18:02 -0700 (PDT) Message-Id: <199705040118.SAA27103@vader.cs.berkeley.edu> To: james@nexis.net CC: chuckr@mat.net, freebsd-ports@freebsd.org In-reply-to: (message from James FitzGibbon on Sat, 3 May 1997 15:08:48 -0400 (EDT)) Subject: Re: Suggested change to apache port From: asami@vader.cs.berkeley.edu (Satoshi Asami) Sender: owner-ports@freebsd.org X-Loop: FreeBSD.org Precedence: bulk * 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