From danger@FreeBSD.org  Wed Jul 29 12:10:24 2009
Return-Path: <danger@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 35BFA106566B
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 29 Jul 2009 12:10:24 +0000 (UTC)
	(envelope-from danger@FreeBSD.org)
Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28])
	by mx1.freebsd.org (Postfix) with ESMTP id 23AFB8FC0C
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 29 Jul 2009 12:10:24 +0000 (UTC)
	(envelope-from danger@FreeBSD.org)
Received: from freefall.freebsd.org (danger@localhost [127.0.0.1])
	by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n6TCAOOP067155
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 29 Jul 2009 12:10:24 GMT
	(envelope-from danger@freefall.freebsd.org)
Received: (from danger@localhost)
	by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n6TCAN8C067148;
	Wed, 29 Jul 2009 12:10:24 GMT
	(envelope-from danger)
Message-Id: <200907291210.n6TCAN8C067148@freefall.freebsd.org>
Date: Wed, 29 Jul 2009 12:10:24 GMT
From: Daniel Gerzo <danger@freebsd.org>
Reply-To: Daniel Gerzo <danger@freebsd.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [patch] Fix dependency bug in bind95 and bind96 ports
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         137240
>Category:       ports
>Synopsis:       [patch] Fix dependency bug in bind95 and bind96 ports
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    dougb
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 29 12:20:06 UTC 2009
>Closed-Date:    Thu Jul 30 18:48:04 UTC 2009
>Last-Modified:  Thu Jul 30 18:50:01 UTC 2009
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->dougb 
Responsible-Changed-By: danger 
Responsible-Changed-When: Thu Jul 30 06:45:45 UTC 2009 
Responsible-Changed-Why:  
Assign to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=137240 
State-Changed-From-To: open->closed 
State-Changed-By: dougb 
State-Changed-When: Thu Jul 30 18:47:54 UTC 2009 
State-Changed-Why:  

Fixed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=137240 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/137240: commit references a PR
Date: Thu, 30 Jul 2009 18:47:55 +0000 (UTC)

 dougb       2009-07-30 18:47:46 UTC
 
   FreeBSD ports repository
 
   Modified files:
     dns/bind95           Makefile 
     dns/bind96           Makefile 
   Log:
   The dependency on idnkit should be a LIB_, not a BUILD_
   
   PR:             ports/137240
   Submitted by:   danger
   
   Revision  Changes    Path
   1.99      +1 -1      ports/dns/bind95/Makefile
   1.101     +1 -1      ports/dns/bind96/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
