ports/61359: [PATCH] Unify PHP detection for ports/mail/squirrelmail

Xin LI delphij at frontfree.net
Wed Jan 14 12:20:16 UTC 2004

>Number:         61359
>Category:       ports
>Synopsis:       [PATCH] Unify PHP detection for ports/mail/squirrelmail
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 14 04:20:13 PST 2004
>Originator:     Xin LI
>Release:        FreeBSD 5.2-RELEASE i386
The FreeBSD Simplified Chinese Project
System: FreeBSD beastie.frontfree.net 5.2-RELEASE FreeBSD 5.2-RELEASE #16: Sat Jan 10 15:24:09 CST 2004 delphij at beastie.frontfree.net:/usr/obj/usr/src/sys/BEASTIE i386

	The PHP detection logic in ports/lang/php4/bsd.php.mk works better than
the one I have submitted as ports/43227 (rev 1.7 of Makefile). So utilize it.

	Apply the following patch

--- patch begins here ---
Index: mail/squirrelmail/Makefile
RCS file: /home/mirror/freebsd/ncvs/ports/mail/squirrelmail/Makefile,v
retrieving revision 1.18
diff -u -r1.18 Makefile
--- mail/squirrelmail/Makefile	13 Jan 2004 15:59:50 -0000	1.18
+++ mail/squirrelmail/Makefile	14 Jan 2004 11:58:23 -0000
@@ -17,11 +17,9 @@
 CONFLICTS?=	ja-squirrelmail-1.*
-.if defined(WITH_APACHE2)
-RUN_DEPENDS+=	${LOCALBASE}/libexec/apache2/libphp4.so:${PORTSDIR}/www/mod_php4
-RUN_DEPENDS+=	${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/www/mod_php4
+.include <../../lang/php4/bsd.php.mk>
 USE_BZIP2=	yes
--- patch ends here ---


More information about the freebsd-ports-bugs mailing list