ports/165338: [patch] print/ghostscript9 has undocumented dependency on libidn

Peter Jeremy peterjeremy at acm.org
Mon Feb 20 20:10:12 UTC 2012


>Number:         165338
>Category:       ports
>Synopsis:       [patch] print/ghostscript9 has undocumented dependency on libidn
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 20 20:10:10 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Peter Jeremy
>Release:        FreeBSD 8.2-STABLE amd64
>Organization:
n/a
>Environment:
System: FreeBSD server.vk2pj.dyndns.org 8.2-STABLE FreeBSD 8.2-STABLE #15: Thu Feb 2 11:02:29 EST 2012 root at server.vk2pj.dyndns.org:/var/obj/usr/src/sys/server amd64

ghostscript9-9.05
libidn-1.22

>Description:
	The ghostscript configure script automatically detects the
	presence of libidn and uses it if present.  This dependency
	is not listed on the port.

>How-To-Repeat:

	Install dns/libidn
	Build and install print/ghostscript9
	Verify ghostscript starts
	pkg_delete libidn-1.22
	Show ghostscript now fails with a missing libidn.so

>Fix:
	There is not obvious need for ghostscript to perform DNS
	lookups so just disable the use of libidn:
Index: Makefile
===================================================================
RCS file: /usr/ncvs/ports/print/ghostscript9/Makefile,v
retrieving revision 1.11
diff -u -r1.11 Makefile
--- Makefile	13 Feb 2012 21:48:19 -0000	1.11
+++ Makefile	19 Feb 2012 01:30:38 -0000
@@ -55,6 +55,7 @@
 		--enable-dynamic \
 		--with-ijs \
 		--without-jasper \
+		--without-libidn \
 		--with-drivers=""
 CPPFLAGS+=	-DUPD_SIGNAL=0 -I. \
 		-I${WRKSRC}/lcms/include \

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



More information about the freebsd-ports-bugs mailing list