[24593] trunk/dports/www/php5/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Sat Apr 28 13:46:28 PDT 2007


Revision: 24593
          http://trac.macosforge.org/projects/macports/changeset/24593
Author:   ryandesign at macports.org
Date:     2007-04-28 13:46:27 -0700 (Sat, 28 Apr 2007)

Log Message:
-----------
IMAP support now requires using the +imap variant, like it did before r11347.

Modified Paths:
--------------
    trunk/dports/www/php5/Portfile

Modified: trunk/dports/www/php5/Portfile
===================================================================
--- trunk/dports/www/php5/Portfile	2007-04-28 20:26:29 UTC (rev 24592)
+++ trunk/dports/www/php5/Portfile	2007-04-28 20:46:27 UTC (rev 24593)
@@ -49,7 +49,6 @@
 	port:tiff \
 	lib:libmhash:mhash \
 	port:libmcrypt \
-	lib:c-client:cclient \
 	port:curl \
 	port:pcre \
 	port:jpeg \
@@ -86,8 +85,6 @@
 	--with-mcrypt=${prefix} \
 	--with-tidy=${prefix} \
 	--with-xsl=${prefix} \
-	--with-imap=${prefix} \
-	--with-imap-ssl=${prefix} \
 	--with-curl=${prefix} \
 	--with-pcre-regex=${prefix} \
 	--with-gd \
@@ -97,9 +94,6 @@
 	--without-pear \
 	--with-freetype-dir=${prefix}
 
-configure.cflags-append \
-	-I${prefix}/include/c-client
-
 platform darwin 6 {
 	depends_lib-append \
 		lib:libdl:dlcompat
@@ -158,6 +152,18 @@
 		--enable-memory-limit
 }
 
+# Add IMAP support. See:
+# http://www.php.net/imap
+variant imap {
+	depends_lib-append \
+		port:cclient
+	configure.cppflags-append \
+		-I${prefix}/include/c-client
+	configure.args-append \
+		--with-imap=${prefix} \
+		--with-imap-ssl=${prefix}
+}
+
 variant mssql {
 	depends_lib-append \
 		port:freetds

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070428/cb05cc32/attachment.html


More information about the macports-changes mailing list