Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jul 2009 12:10:24 GMT
From:      Daniel Gerzo <danger@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/137240: [patch] Fix dependency bug in bind95 and bind96 ports
Message-ID:  <200907291210.n6TCAN8C067148@freefall.freebsd.org>
Resent-Message-ID: <200907291220.n6TCK6ot072950@freefall.freebsd.org>

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

>Number:         137240
>Category:       ports
>Synopsis:       [patch] Fix dependency bug in bind95 and bind96 ports
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 29 12:20:06 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Daniel Gerzo
>Release:        FreeBSD 7.2-STABLE i386
>Organization:
SysCare s. r. o.
>Environment:
	
>Description:
When I created custom package of bind96 and installed it on a different
server, running nslookup/host/etc failed with:

root@fw2:/data/ports/packages/All > /usr/local/bin/dig www.sme.sk
/libexec/ld-elf.so.1: Shared object "libidnkit.so.1" not found, required by "dig"
Exit 1
	
>How-To-Repeat:
	
>Fix:

	

--- bind.diff begins here ---
Index: bind95/Makefile
===================================================================
RCS file: /home/pcvs/ports/dns/bind95/Makefile,v
retrieving revision 1.98
diff -u -r1.98 Makefile
--- bind95/Makefile	28 Jul 2009 22:13:34 -0000	1.98
+++ bind95/Makefile	29 Jul 2009 12:02:25 -0000
@@ -76,7 +76,7 @@
 
 .if defined(WITH_IDN)
 CONFIGURE_ARGS+=	--with-idn=${LOCALBASE} --with-libiconv=${LOCALBASE}
-BUILD_DEPENDS+=		runidn:${PORTSDIR}/dns/idnkit
+LIB_DEPENDS+=		idnkit.1:${PORTSDIR}/dns/idnkit
 .else
 CONFIGURE_ARGS+=	--without-idn
 .endif
Index: bind96/Makefile
===================================================================
RCS file: /home/pcvs/ports/dns/bind96/Makefile,v
retrieving revision 1.100
diff -u -r1.100 Makefile
--- bind96/Makefile	28 Jul 2009 22:13:34 -0000	1.100
+++ bind96/Makefile	29 Jul 2009 12:02:25 -0000
@@ -75,7 +75,7 @@
 
 .if defined(WITH_IDN)
 CONFIGURE_ARGS+=	--with-idn=${LOCALBASE} --with-libiconv=${LOCALBASE}
-BUILD_DEPENDS+=		runidn:${PORTSDIR}/dns/idnkit
+LIB_DEPENDS+=		idnkit.1:${PORTSDIR}/dns/idnkit
 .else
 CONFIGURE_ARGS+=	--without-idn
 .endif
--- bind.diff ends here ---


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



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