From owner-freebsd-ports Fri Jul 7 1:40:12 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id C521D37C058 for ; Fri, 7 Jul 2000 01:40:00 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id BAA30355; Fri, 7 Jul 2000 01:40:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from kronos.networkrichmond.com (kronos.networkrichmond.com [64.240.180.22]) by hub.freebsd.org (Postfix) with ESMTP id 4AEC337B8E4; Fri, 7 Jul 2000 01:35:09 -0700 (PDT) (envelope-from kbyanc@kronos.alcnet.com) Received: from vaio (c1096725-a.smateo1.sfba.home.com [24.20.139.104]) by kronos.networkrichmond.com (8.9.3/8.9.3/antispam) with ESMTP id EAA54556; Fri, 7 Jul 2000 04:35:07 -0400 (EDT) Received: (from kbyanc@localhost) by vaio (8.9.3/8.9.3) id BAA27461; Fri, 7 Jul 2000 01:39:17 -0700 (PDT) (envelope-from kbyanc@mail.posi.net) Message-Id: <200007070839.BAA27461@vaio> Date: Fri, 7 Jul 2000 01:39:17 -0700 (PDT) From: kbyanc@posi.net Reply-To: kbyanc@posi.net To: FreeBSD-gnats-submit@FreeBSD.org Cc: dirk@FreeBSD.org X-Send-Pr-Version: 3.2 Subject: ports/19751: update www/mod_php3 and www/mod_php4 ports to use mail/cclient Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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