Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Feb 2012 07:04:46 +1100 (EST)
From:      Peter Jeremy <peterjeremy@acm.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/165338: [patch] print/ghostscript9 has undocumented dependency on libidn
Message-ID:  <201202202004.q1KK4k0U004222@server.vk2pj.dyndns.org>
Resent-Message-ID: <201202202010.q1KKAAQk004309@freefall.freebsd.org>

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

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



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