Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Mar 2001 17:49:50 -0500 (EST)
From:      rooneg@electricjellyfish.net
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/29214: [PATCH] www/mod_php4 does not include support for libCURL
Message-ID:  <200103232249.f2NMnom09850@neroon.user.acm.rpi.edu>

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

>Number:         29214
>Category:       ports
>Synopsis:       www/mod_php4 does not include support for libCURL
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 25 00:10:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Garrett Rooney
>Release:        FreeBSD 4.3-BETA i386
>Organization:
RPI
>Environment:
	Not relavent

>Description:
	The mod_php4 port includes support for various different extensions to 
the php language, which can be configured at build time.  The libCURL bindings 
are not among them at the moment.  Curl is included in the ports tree 
(ftp/curl), so it seems like we should at least offer the option to compile 
with support.

>How-To-Repeat:
	Try to compile mod_php4 and it won't let you add curl support ;-)

>Fix:
	Apply this patch to www/mod_php4/scripts/configure.php ;-)


--- /usr/ports/www/mod_php4/scripts/configure.php	Mon Mar 12 12:28:57 2001
+++ configure.php	Fri Mar 23 17:51:37 2001
@@ -27,6 +27,7 @@
 SNMP		"SNMP support" OFF \
 XML		"XML support" OFF \
 FTP		"File Transfer Protocol support" OFF \
+CURL		"libCURL support" OFF \
 gettext		"gettext library support" OFF \
 japanese	"jstring and mbregex module" OFF \
 YP		"YP/NIS support" OFF \
@@ -157,6 +158,10 @@
 			;;
 		\"FTP\")
 			echo "CONFIGURE_ARGS+=--enable-ftp"
+			;;
+		\"CURL\")
+			echo "CONFIGURE_ARGS+=--with-curl"
+			echo "BUILD_DEPENDS+=   \${PREFIX}/lib/libcurl.a:\${PORTSDIR}/ftp/curl"
 			;;
 		\"gettext\")
 			echo "LIB_DEPENDS+=	intl.1:\${PORTSDIR}/devel/gettext"
>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?200103232249.f2NMnom09850>