Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Feb 2001 20:26:03 +1100 (EST)
From:      chris@aims.com.au
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/25060: [PATCH] mod_php4 dependency on gd fails
Message-ID:  <200102130926.f1D9Q3783800@dbserver2.aims.private>

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

>Number:         25060
>Category:       ports
>Synopsis:       mod_php4 dependency on gd fails
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 13 01:30:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Chris Knight
>Release:        FreeBSD 4.2-STABLE i386
>Organization:
AIMS Independent Computer Professionals
>Environment:

	FreeBSD dbserver2.aims.private 4.2-STABLE FreeBSD 4.2-STABLE #0: Fri Jan 19 13:51:45 EST 2001     root@dbserver2.aims.private:/usr/obj/usr/src/sys/DBSERVER  i386

>Description:

	mod_php4 build process fails as it has a library dependency on gd.1.
	A recent change to gd bumped the version number, so clean installs of
	mod_php4 fail, as no gd.1 library can be found.

>How-To-Repeat:

	Install mod_php4 from the ports tree without an existing gd install.

>Fix:

	Apply the following patch in /usr/ports/www/mod_php4:


--- scripts/configure.php.old	Tue Feb 13 16:57:15 2001
+++ scripts/configure.php	Tue Feb 13 16:57:29 2001
@@ -57,7 +57,7 @@
 while [ "$1" ]; do
 	case $1 in
 		\"GD\")
-			echo "LIB_DEPENDS+=	gd.1:\${PORTSDIR}/graphics/gd"
+			echo "LIB_DEPENDS+=	gd.2:\${PORTSDIR}/graphics/gd"
 			echo "CONFIGURE_ARGS+=--with-gd=\${PREFIX}"
 			GD=1
 			;;


>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?200102130926.f1D9Q3783800>