Skip site navigation (1)Skip section navigation (2)
Date:      21 May 2003 07:15:24 -0000
From:      Alex Kiesel <kiesel@schlund.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/52516: Fix dependency of mod_php4 towards freetds 
Message-ID:  <20030521071524.34870.qmail@alex.i.schlund.de>
Resent-Message-ID: <200305210720.h4L7KFH8074680@freefall.freebsd.org>

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

>Number:         52516
>Category:       ports
>Synopsis:       Fix dependency of mod_php4 towards freetds
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 21 00:20:14 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Alex Kiesel
>Release:        FreeBSD 4.8-RELEASE i386
>Organization:
>Environment:
System: FreeBSD alex.i.schlund.de 4.8-RELEASE FreeBSD 4.8-RELEASE #0: Fri Apr 11 16:29:20 CEST 2003 root@alex.i.schlund.de:/usr/obj/usr/src/sys/KNORKE i386


	
>Description:
	
    www/mod_php4 still checks for libct.so.0, which should be libct.so.1, and tries to install
    freetds, which fails because it is already installed.

    The attached patch corrects this.
>How-To-Repeat:
	
>Fix:

	

--- modphp4.diff begins here ---
Index: scripts/configure.php
===================================================================
RCS file: /home/ncvs/ports/www/mod_php4/scripts/configure.php,v
retrieving revision 1.188
diff -u -r1.188 configure.php
--- scripts/configure.php	14 Apr 2003 06:19:10 -0000	1.188
+++ scripts/configure.php	20 May 2003 12:36:48 -0000
@@ -192,7 +192,7 @@
 			fi
 			;;
 		\"SybaseDB\")
-			echo "LIB_DEPENDS+=	sybdb.1:\${PORTSDIR}/databases/freetds"
+			echo "LIB_DEPENDS+=	sybdb.3:\${PORTSDIR}/databases/freetds"
 			echo "LIB_DEPENDS+=	iconv.3:\${PORTSDIR}/converters/libiconv"
 			echo "CONFIGURE_ARGS+=--with-sybase=\${LOCALBASE}"
 			if [ "$SYBASECT" ]; then
@@ -203,7 +203,7 @@
 			SYBASEDB=1
 			;;
 		\"SybaseCT\")
-			echo "LIB_DEPENDS+=	ct.0:\${PORTSDIR}/databases/freetds"
+			echo "LIB_DEPENDS+=	ct.1:\${PORTSDIR}/databases/freetds"
 			echo "LIB_DEPENDS+=	iconv.3:\${PORTSDIR}/converters/libiconv"
 			echo "CONFIGURE_ARGS+=--with-sybase-ct=\${LOCALBASE}"
 			if [ "$SYBASEDB" ]; then
--- modphp4.diff ends here ---


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



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