From owner-freebsd-ports Tue Jan 4 2:31:59 2000 Delivered-To: freebsd-ports@freebsd.org Received: from axl.noc.iafrica.com (axl.noc.iafrica.com [196.31.1.175]) by hub.freebsd.org (Postfix) with ESMTP id 6AC8F14F8A for ; Tue, 4 Jan 2000 02:31:55 -0800 (PST) (envelope-from sheldonh@axl.noc.iafrica.com) Received: from sheldonh (helo=axl.noc.iafrica.com) by axl.noc.iafrica.com with local-esmtp (Exim 3.11 #1) id 125RFY-000I7i-00; Tue, 04 Jan 2000 12:31:36 +0200 From: Sheldon Hearn To: asami@cs.berkeley.edu (Satoshi Asami) Cc: ports@FreeBSD.org Subject: Re: mod_perl dependency In-reply-to: Your message of "Mon, 03 Jan 2000 05:08:43 PST." <200001031308.FAA12297@silvia.hip.berkeley.edu> Date: Tue, 04 Jan 2000 12:31:35 +0200 Message-ID: <69669.946981895@axl.noc.iafrica.com> Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, 03 Jan 2000 05:08:43 PST, Satoshi Asami wrote: > The mod_perl port has an INSTALL script that checks the existence of > apxs but apache13 is only a BUILD_DEPENDS so the package dependency > doesn't get propagated into mod_perl package. Ah, you're right. > Is it ok to add RUN_DEPENDS to apache13 too? (If you are doing this > intentionally to give the user the freedom to choose which apache > port/package to use, I think you probably shouldn't be too strict in > the INSTALL script either, but the apxs command is run in pkg/INSTALL > so it makes is a little hard to take out the check.) It looks to me like there's no problem adding RUN_DEPENDS. I don't think it will break the freedom of choice of apache flavour either. I must admit, I did think that you had to choose between one of the *_DEPENDS for each dependency, but I can't remember why I thought that. So would this be okay? Ciao, Sheldon. Index: Makefile =================================================================== RCS file: /home/ncvs/ports/www/mod_perl/Makefile,v retrieving revision 1.2 diff -u -d -r1.2 Makefile --- Makefile 1999/11/09 10:37:33 1.2 +++ Makefile 2000/01/04 10:30:16 @@ -14,6 +14,7 @@ MAINTAINER= sheldonh@FreeBSD.org BUILD_DEPENDS= ${PREFIX}/sbin/apxs:${PORTSDIR}/www/apache13 +RUN_DEPENDS= ${PREFIX}/sbin/apxs:${PORTSDIR}/www/apache13 USE_PERL5= YES To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message