ports/52516: Fix dependency of mod_php4 towards freetds

Alex Kiesel kiesel at schlund.de
Wed May 21 07:20:16 UTC 2003


>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 at 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:



More information about the freebsd-ports-bugs mailing list