Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Jul 2000 01:39:17 -0700 (PDT)
From:      kbyanc@posi.net
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        dirk@FreeBSD.org
Subject:   ports/19751: update www/mod_php3 and www/mod_php4 ports to use mail/cclient
Message-ID:  <200007070839.BAA27461@vaio>

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

>Number:         19751
>Category:       ports
>Synopsis:       update www/mod_php3 and www/mod_php4 ports to use mail/cclient
>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:   Fri Jul 07 01:40:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Kelly Yancey
>Release:        FreeBSD 4.0-STABLE i386
>Organization:
>Environment:
>Description:

	The attached patch updates the mod_php3 and mod_php4 ports to use
	the new cclient port (PR 19691) when imap support is 
	requested; this is as opposed to installing the entire UW imap
	server just to get the c-client library.

	Note, that the diff is simple and the ports build, but I have no
	way to test the resulting module to be correct. I also have no
	reason to suspect it wouldn't be.

	-Kelly

	P.S. Part of me is surprised these we so easy. The new cclient
	port installs headers in $(PREFIX)/include/c-client (to prevent
	the somewhat generically-named headers from conflicting with
	others in $(PREFIX)/include. However, the imap-uw port used to
	install a subset of the headers in $(PREFIX)/include. It appears
	that the PHP configure script is smart enough to look in the
	c-client subdirectory on it's own. I was very impressed.

>How-To-Repeat:
>Fix:

Index: www/mod_php3/scripts/configure.php
===================================================================
RCS file: /home/cvs/ports/www/mod_php3/scripts/configure.php,v
retrieving revision 1.93
diff -u -r1.93 configure.php
--- www/mod_php3/scripts/configure.php	2000/07/01 14:25:58	1.93
+++ www/mod_php3/scripts/configure.php	2000/07/07 08:03:38
@@ -91,7 +91,7 @@
 			fi
 			;;
 		\"IMAP\")
-			echo "LIB_DEPENDS+=	c-client4.7:\${PORTSDIR}/mail/imap-uw"
+			echo "LIB_DEPENDS+=	c-client4.7:\${PORTSDIR}/mail/cclient"
 			echo "CONFIGURE_ARGS+=--with-imap=\${PREFIX}"
 			;;
 		\"MySQL\")
Index: www/mod_php4/scripts/configure.php
===================================================================
RCS file: /home/cvs/ports/www/mod_php4/scripts/configure.php,v
retrieving revision 1.96
diff -u -r1.96 configure.php
--- www/mod_php4/scripts/configure.php	2000/07/01 14:25:59	1.96
+++ www/mod_php4/scripts/configure.php	2000/07/07 08:22:01
@@ -94,7 +94,7 @@
 			fi
 			;;
 		\"IMAP\")
-			echo "LIB_DEPENDS+=	c-client4.7:\${PORTSDIR}/mail/imap-uw"
+			echo "LIB_DEPENDS+=	c-client4.7:\${PORTSDIR}/mail/cclient"
 			echo "CONFIGURE_ARGS+=--with-imap=\${PREFIX}"
 			;;
 		\"MySQL\")

>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?200007070839.BAA27461>