Date: Sat, 2 Nov 2002 15:12:43 +0100 (CET) From: Gabriel Ambuehl <gabriel_ambuehl@buz.ch> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/44831: PORTS Uprade: mod_php4-4.2.3_1 Message-ID: <200211021412.gA2EChS5050893@iota.root-servers.ch>
next in thread | raw e-mail | index | archive | help
>Number: 44831 >Category: ports >Synopsis: PORTS Uprade: mod_php4-4.2.3_1 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sat Nov 02 06:20:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Gabriel Ambuehl gabriel_ambuehl@buz.ch >Release: FreeBSD 4.7-RELEASE i386 >Organization: >Environment: >Description: Adds LIBXSLT support to mod_php4 configuration menu, proper Documentation of PHP4_OPTIONS usage, switch to look for apache13-modssl instead apache13 >How-To-Repeat: n/a >Fix: n/a --- mod_php4-4.2.3_1.patch begins here --- diff -ur /usr/ports/www/mod_php4/Makefile mod_php4/Makefile --- /usr/ports/www/mod_php4/Makefile Tue Sep 10 13:26:49 2002 +++ mod_php4/Makefile Sat Nov 2 14:49:21 2002 @@ -37,11 +37,16 @@ USE_BZIP2= yes USE_SUBMAKE= yes USE_AUTOCONF_VER=213 + .if defined(WITH_APACHE2) APACHE_PORT?= ${PORTSDIR}/www/apache2 .else +.if defined(WITH_APACHE13-MOD_SSL) +APACHE_PORT?= ${PORTSDIR}/www/apache13-modssl +.else APACHE_PORT?= ${PORTSDIR}/www/apache13 .endif +.endif APXS?= ${LOCALBASE}/sbin/apxs .if !defined(BATCH) && !defined(PACKAGE_BUILDING) @@ -85,6 +90,15 @@ pre-fetch: @${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure.php + @${ECHO_CMD} "Define WITH_APACHE13-MOD_SSL if you're using the www/apache13-mod_ssl" + @${ECHO_CMD} "port instead of www/apache13" + @${ECHO_CMD} "" + @${ECHO_CMD} "Define BATCH if you want to run a non-interactive build." + @${ECHO_CMD} "Set PHP4_OPTIONS='\\\"your_module1\\\" \\\"your_module2\\\" ' " + @${ECHO_CMD} "if you want non-standard modules to be compiled into BATCH builds" + @${ECHO_CMD} "whereas the names of the modules are the same as displayed in the" + @${ECHO_CMD} "interactive menu." + @${ECHO_CMD} "" .if !defined(STANDALONE) && !defined(WITH_APACHE2) @${ECHO_CMD} "Define WITH_APACHE2 to build mod_php4 as an apache2 module." @${ECHO_CMD} "" diff -ur /usr/ports/www/mod_php4/scripts/configure.php mod_php4/scripts/configure.php --- /usr/ports/www/mod_php4/scripts/configure.php Sat Sep 21 08:11:46 2002 +++ mod_php4/scripts/configure.php Sat Nov 2 14:49:22 2002 @@ -40,7 +40,8 @@ XMLRPC "XMLRPC-EPI support (implies XML and iconv)" OFF \ XSLT "Sablotron support (implies XML and iconv)" OFF \ WDDX "WDDX support (implies XML)" OFF \ -DOMXML "DOM support" OFF \ +DOMXML "DOM support (by means of Gnome's libxml2, implies zlib)" OFF \ +LIBXSLT "libxslt support (marked experimental, seems to work, though, implies DOMXML)" OFF \ FTP "File Transfer Protocol support" OFF \ CURL "CURL support" OFF \ gettext "gettext library support" OFF \ @@ -283,8 +284,13 @@ ;; \"DOMXML\") echo "LIB_DEPENDS+= xml2.5:\${PORTSDIR}/textproc/libxml2" - echo "CONFIGURE_ARGS+=--with-dom=\${LOCALBASE}" + echo "CONFIGURE_ARGS+=--with-dom=\${LOCALBASE} --with-zlib" ;; + \"LIBXSLT\") + echo "LIB_DEPENDS+= xml2.5:\${PORTSDIR}/textproc/libxml2 xslt.1:\${PORTSDIR}/textproc/libxslt" + echo "CONFIGURE_ARGS+=--with-dom=\${LOCALBASE} --with-zlib --with-dom-xslt=\${LOCALBASE}" + ;; + \"FTP\") echo "CONFIGURE_ARGS+=--enable-ftp" ;; --- mod_php4-4.2.3_1.patch ends here --- >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?200211021412.gA2EChS5050893>