Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Jun 2000 18:28:46 -0400 (EDT)
From:      adrian@ubergeeks.com
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/19253: mod_php4 pkg dependency fix/generalization.
Message-ID:  <200006132228.SAA73486@cluebie.esolstice.int>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200006132228.SAA73486>