From owner-freebsd-ports Tue Jun 13 18:10: 9 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id DB1E637B789 for ; Tue, 13 Jun 2000 18:10:06 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id SAA15374; Tue, 13 Jun 2000 18:10:06 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Tue, 13 Jun 2000 18:10:06 -0700 (PDT) Message-Id: <200006140110.SAA15374@freefall.freebsd.org> To: freebsd-ports@FreeBSD.org Cc: From: "Scot W. Hetzel" Subject: Re: ports/19253: mod_php4 pkg dependency fix/generalization. Reply-To: "Scot W. Hetzel" Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR ports/19253; it has been noted by GNATS. From: "Scot W. Hetzel" To: Cc: Subject: Re: ports/19253: mod_php4 pkg dependency fix/generalization. Date: Tue, 13 Jun 2000 20:08:29 -0500 From: > The mod_php4 port has the apache13 port hard coded as its > apache dependency. This is not necessary and yields incorrect > dependency lists when other apache ports are installed. > > >How-To-Repeat: > > cd /usr/ports/www/apache13-modssl > make install > cd ../mod_php4 > make install > make deinstall > # get complaing about missing 'apache-1.3.12' dependency. > > >Fix: > > Apply the attaqched patch. This makes the base package > over ridable on the make command line. > This would be a temproary fix to the problem, this would be better solved by PR 18960, which defines a common code base to be used by all Apache Module ports ( USE_APACHE). > --- Makefile.orig Tue Jun 13 15:07:56 2000 > +++ Makefile Tue Jun 13 15:08:54 2000 > @@ -21,8 +21,11 @@ > > MAINTAINER= dirk@FreeBSD.org > > -BUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13 > -RUN_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13 > +.if !defined(APACHE_PORT) > +APACHE_PORT=apache13 > +.endif > +BUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/${APACHE_PORT} > +RUN_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/${APACHE_PORT} > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message