ports/66141: [PATCH] mail/postfixadmin: Use PHP USE_PHP instead of hard dependcies

Xavier Beaudouin kiwi at oav.net
Sat May 1 10:20:16 UTC 2004


>Number:         66141
>Category:       ports
>Synopsis:       [PATCH] mail/postfixadmin: Use PHP USE_PHP instead of hard dependcies
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 01 03:20:15 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Xavier Beaudouin
>Release:        FreeBSD 5.2.1-RELEASE-p3 i386
>Organization:
The Caudium Group / Association Kazar
>Environment:
System: FreeBSD domu.oav.net 5.2.1-RELEASE-p3 FreeBSD 5.2.1-RELEASE-p3 #0: Thu Mar 18 12:25:33 CET 2004
>Description:

The ports add Apaches dependencies instead of using nice USE_PHP for PHP
dependencies... This patch fix that.

Port maintainer (rob at debank.tv) is cc'd.

Generated with FreeBSD Port Tools 0.50
>How-To-Repeat:
>Fix:

--- postfixadmin-2.0.4.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/mail/postfixadmin.old/Makefile /usr/ports/mail/postfixadmin/Makefile
--- /usr/ports/mail/postfixadmin.old/Makefile	Fri Apr 30 16:57:21 2004
+++ /usr/ports/mail/postfixadmin/Makefile	Fri Apr 30 16:57:39 2004
@@ -14,12 +14,7 @@
 MAINTAINER=	rob at debank.tv
 COMMENT=	PHP frontend to postfix and mySQL
 
-.if defined(WITH_APACHE2)
-RUN_DEPENDS+=	${LOCALBASE}/libexec/apache2/libphp4.so:${PORTSDIR}/www/mod_php4
-.else
-RUN_DEPENDS+=	${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/www/mod_php4
-.endif
-
+USE_PHP=	yes
 NO_BUILD=	yes
 FETCH_SITE=	http://high5.net/postfixadmin/download.php
 FETCH_BEFORE_ARGS=	-o ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}
--- postfixadmin-2.0.4.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list