Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Mar 2003 07:57:24 +0200 (EET)
From:      Toni Viemero <toni.viemero@iki.fi>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/50308: Update port: www/mod_php4, add MySQL4 support and fix XSLT lib dependancies
Message-ID:  <20030326055724.CBBB3AC941@hippa.egotaivas.com>

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

>Number:         50308
>Category:       ports
>Synopsis:       Update port: www/mod_php4, add MySQL4 support and fix XSLT lib dependancies
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 25 22:00:24 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Toni Viemerö
>Release:        FreeBSD 5.0-RELEASE-p6 i386
>Organization:
>Environment:
System: FreeBSD hippa.egotaivas.com 5.0-RELEASE-p6 FreeBSD 5.0-RELEASE-p6 #1: Mon Mar 24 18:59:25 EET 2003 root@hippa.egotaivas.com:/usr/obj/usr/src/sys/HIPPA i386


	
>Description:
    Update port: www/mod_php4, add MySQL4 support and fix XSLT lib dependancies
>How-To-Repeat:
	
>Fix:

diff -ruN mod_php4.old/Makefile mod_php4/Makefile
--- mod_php4.old/Makefile       Wed Mar 26 00:57:32 2003
+++ mod_php4/Makefile   Wed Mar 26 00:55:38 2003
@@ -102,7 +102,11 @@
 # Has to be kept in sync with the defaults in configure.php
 .ifndef(WITHOUT_MYSQL)
 .ifmake describe
-LIB_DEPENDS+=  mysqlclient.10:${PORTSDIR}/databases/mysql323-client
+.if exists(${LOCALBASE}/lib/mysql/libmysqlclient.so.12)
+LIB_DEPENDS=    mysqlclient.12:${PORTSDIR}/databases/mysql40-client
+.else
+LIB_DEPENDS=    mysqlclient.10:${PORTSDIR}/databases/mysql323-client
+.endif
 .endif
 .endif

diff -ruN mod_php4.old/scripts/configure.php mod_php4/scripts/configure.php
--- mod_php4.old/scripts/configure.php  Wed Mar 26 00:57:32 2003
+++ mod_php4/scripts/configure.php      Wed Mar 26 01:02:37 2003
@@ -28,6 +28,7 @@
 IMAP           "IMAP support" OFF \
 IMAP-SSL       "IMAP-SSL support (implies IMAP)" OFF \
 MySQL          "MySQL database support" ON \
+MySQL4         "MySQL4 database support" OFF \
 PostgreSQL     "PostgreSQL database support" OFF \
 SybaseDB       "Sybase/MS-SQL database support (DB-lib)" OFF \
 SybaseCT       "Sybase/MS-SQL database support (CT-lib)" OFF \
@@ -171,7 +172,12 @@
                        fi
                        ;;
                \"MySQL\")
-                       echo "LIB_DEPENDS+=     mysqlclient.10:\${PORTSDIR}/databases/mysql323-client"
+                       echo "LIB_DEPENDS+=     mysqlclient.10:\${PORTSDIR}/databases/mysql323-client"
+                       echo "CONFIGURE_ARGS+=--with-mysql=\${LOCALBASE}"
+                       MYSQL=1
+                       ;;
+               \"MySQL4\")
+                       echo "LIB_DEPENDS+=     mysqlclient.12:\${PORTSDIR}/databases/mysql40-client"
                        echo "CONFIGURE_ARGS+=--with-mysql=\${LOCALBASE}"
                        MYSQL=1
                        ;;
@@ -279,7 +285,7 @@
                        fi
                        ;;
                \"XSLT\")
-                       echo "LIB_DEPENDS+=     sablot.69:\${PORTSDIR}/textproc/sablotron"
+                       echo "LIB_DEPENDS+=     sablot.70:\${PORTSDIR}/textproc/sablotron"
                        echo "CONFIGURE_ARGS+=--enable-xslt --with-xslt-sablot=\${LOCALBASE}"
                        if [ -z "$XML" ]; then
                                set $* \"XML\"

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030326055724.CBBB3AC941>