From owner-freebsd-ports Tue Jun 13 15:30: 8 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 6823137C0E7 for ; Tue, 13 Jun 2000 15:30:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id PAA97750; Tue, 13 Jun 2000 15:30:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from esummer.esolstice.com (esummer.esolstice.com [209.145.65.15]) by hub.freebsd.org (Postfix) with ESMTP id 0EF1C37C0E9 for ; Tue, 13 Jun 2000 15:24:58 -0700 (PDT) (envelope-from adrian@mail.esolstice.com) Received: from cluebie.esolstice.int (an-fw.esolstice.com [208.241.63.212]) by esummer.esolstice.com (8.9.3/8.9.3) with ESMTP id SAA21339 for ; Tue, 13 Jun 2000 18:27:08 -0400 (EDT) (envelope-from adrian@mail.esolstice.com) Received: (from adrian@localhost) by cluebie.esolstice.int (8.9.3/8.9.3) id SAA73486; Tue, 13 Jun 2000 18:28:46 -0400 (EDT) (envelope-from adrian@mail.esolstice.com) Message-Id: <200006132228.SAA73486@cluebie.esolstice.int> Date: Tue, 13 Jun 2000 18:28:46 -0400 (EDT) From: adrian@ubergeeks.com Reply-To: adrian@ubergeeks.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/19253: mod_php4 pkg dependency fix/generalization. Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 19253 >Category: ports >Synopsis: mod_php4 has pkg dependency when not using the apache13 port. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Jun 13 15:30:02 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Adrian Filipi-Martin >Release: FreeBSD 3.4-RELEASE i386 >Organization: Ubergeeks Consulting >Environment: /usr/ports cvsup'd today. >Description: 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. --- 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} Y2K= http://www.php.net/y2k.php >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message