Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jan 2004 20:10:37 +0800 (CST)
From:      Xin LI <delphij@frontfree.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        simond@irrelevant.org
Subject:    ports/61359: [PATCH] Unify PHP detection for ports/mail/squirrelmail
Message-ID:  <20040114121037.49C4611703@beastie.frontfree.net>
Resent-Message-ID: <200401141220.i0ECKDN3065012@freefall.freebsd.org>

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

>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
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 14 04:20:13 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Xin LI
>Release:        FreeBSD 5.2-RELEASE i386
>Organization:
The FreeBSD Simplified Chinese Project
>Environment:
System: FreeBSD beastie.frontfree.net 5.2-RELEASE FreeBSD 5.2-RELEASE #16: Sat Jan 10 15:24:09 CST 2004 delphij@beastie.frontfree.net:/usr/obj/usr/src/sys/BEASTIE i386

>Description:
	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.
>How-To-Repeat:
>Fix:

	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
-.else
-RUN_DEPENDS+=	${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/www/mod_php4
-.endif
+WANT_PHP_MOD=	yes
+PHP_VER=	4
+.include <../../lang/php4/bsd.php.mk>
 
 USE_BZIP2=	yes
 
--- patch ends here ---


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



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