Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Sep 2001 16:18:42 +0100 (BST)
From:      Matthew Seaman <matthew.seaman@tornadogroup.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/30914: mod_php4 dependency on libpng.so.4 if "pdflib" option chosen
Message-ID:  <200109291518.f8TFIgw52473@claudette.e1.tornadogroup.com>

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

>Number:         30914
>Category:       ports
>Synopsis:       mod_php4 dependency on libpng.so.4 if "pdflib" option chosen
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Sep 29 08:30:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Matthew Seaman
>Release:        FreeBSD 4.4-STABLE i386
>Organization:
Tornado Group plc
>Environment:
System: FreeBSD claudette.e1.tornadogroup.com 4.4-STABLE FreeBSD 4.4-STABLE #1: Thu Sep 27 14:00:02 BST 2001 root@claudette.e1.tornadogroup.com:/usr/obj/usr/src/sys/CLAUDETTE i386

>Description:

	Compiling ports/www/mod_php4 fails if the pdflib option is
	chosen, and a recent version of ports/graphics/png has been
	installed so that libpng.so.5 exists, but not libpng.so.4

>How-To-Repeat:

	pkg_delete -f "png*"
	rm -f /usr/local/lib/libpng.so.4
        cd /usr/ports/graphics/png
	make install
	cd /usr/ports/www/mod_php4
	make
	   [ Select the pdflib option]

	--- fails trying to reinstall ports/graphics/png

>Fix:

--- scripts/configure.php.0	Fri Sep 28 14:43:58 2001
+++ scripts/configure.php	Sat Sep 29 10:39:28 2001
@@ -96,7 +96,7 @@
 		\"pdflib\")
 			echo "LIB_DEPENDS+=	pdf.3:\${PORTSDIR}/print/pdflib3"
 			echo "LIB_DEPENDS+=	jpeg.9:\${PORTSDIR}/graphics/jpeg"
-			echo "LIB_DEPENDS+=	png.4:\${PORTSDIR}/graphics/png"
+			echo "LIB_DEPENDS+=	png.5:\${PORTSDIR}/graphics/png"
 			echo "LIB_DEPENDS+=	tiff.4:\${PORTSDIR}/graphics/tiff"
 			echo "CONFIGURE_ARGS+=--with-pdflib=\${PREFIX} \\"
 			echo "		--with-zlib-dir=/usr \\"

>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?200109291518.f8TFIgw52473>