From root@cainites.net  Tue Feb 21 09:02:00 2012
Return-Path: <root@cainites.net>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 3A456106564A
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 21 Feb 2012 09:02:00 +0000 (UTC)
	(envelope-from root@cainites.net)
Received: from cainites.net (tunnel3563.ipv6.xs4all.nl [IPv6:2001:888:10:deb::2])
	by mx1.freebsd.org (Postfix) with ESMTP id DD7328FC0A
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 21 Feb 2012 09:01:59 +0000 (UTC)
Received: from root by cainites.net with local (Exim 4.77 (FreeBSD))
	(envelope-from <root@cainites.net>)
	id 1Rzlbi-0000ca-H4
	for FreeBSD-gnats-submit@freebsd.org; Tue, 21 Feb 2012 10:01:58 +0100
Message-Id: <E1Rzlbi-0000ca-H4@cainites.net>
Date: Tue, 21 Feb 2012 10:01:58 +0100
From: Ralf van der Enden <tremere@cainites.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [MAINTAINER] dns/powerdns: change boost-libs from BUILD_DEPENDS to LIB_DEPENDS
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         165352
>Category:       ports
>Synopsis:       [MAINTAINER] dns/powerdns: change boost-libs from BUILD_DEPENDS to LIB_DEPENDS
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    scheidell
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 21 09:10:09 UTC 2012
>Closed-Date:    Fri Feb 24 13:01:05 UTC 2012
>Last-Modified:  Fri Feb 24 13:10:10 UTC 2012
>Originator:     Ralf van der Enden
>Release:        FreeBSD 9.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD lan.cainites.net 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Fri Jan  6 13:52:37 CET
>Description:
Change boost-libs from BUILD_DEPENDS to LIB_DEPENDS. This fixes installing from packages. 

This was spotted by Marat Bakeev <hawara@hawara.com> (GNATS report ports/164627)

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- powerdns-3.0.1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/dns/powerdns.orig/Makefile /usr/ports/dns/powerdns/Makefile
--- /usr/ports/dns/powerdns.orig/Makefile	2012-01-11 20:16:07.000000000 +0100
+++ /usr/ports/dns/powerdns/Makefile	2012-02-21 09:55:59.000000000 +0100
@@ -16,9 +16,9 @@
 COMMENT=	An advanced DNS server with multiple backends including SQL
 
 BUILD_DEPENDS=	bjam:${PORTSDIR}/devel/boost-jam \
-		${LOCALBASE}/include/boost/shared_ptr.hpp:${PORTSDIR}/devel/boost-libs \
 		${LOCALBASE}/lib/libcryptopp.a:${PORTSDIR}/security/cryptopp
-LIB_DEPENDS=	botan.0:${PORTSDIR}/security/botan
+LIB_DEPENDS=	botan.0:${PORTSDIR}/security/botan \
+		boost_serialization.4:${PORTSDIR}/devel/boost-libs
 
 USE_LUA=	5.1
 LUA_COMPS=	lua
--- powerdns-3.0.1.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->scheidell 
Responsible-Changed-By: scheidell 
Responsible-Changed-When: Tue Feb 21 12:37:27 UTC 2012 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=165352 
State-Changed-From-To: open->feedback 
State-Changed-By: scheidell 
State-Changed-When: Tue Feb 21 16:01:18 UTC 2012 
State-Changed-Why:  
Q:   
+LIB_DEPENDS=	botan.0:${PORTSDIR}/security/botan  
+		boost_serialization.4:${PORTSDIR}/devel/boost-libs 

this will only work until libboost_serialization.so.4 exists. 
if boostlib changes, (to .5? .6, .7) you will need to update this port. 
if you need a lib >= a certain version, consider .[4-9] format.  if it doesn't matter, consider dropping the .4? 
Your choice. 
port compiles just fine in tinderbox, 7,8,9, amd64 and i386, and is ready to commit as is if you wish. 
Just let me know: 

http://www.freebsd.org/cgi/query-pr.cgi?pr=165352 
State-Changed-From-To: feedback->closed 
State-Changed-By: scheidell 
State-Changed-When: Fri Feb 24 13:01:03 UTC 2012 
State-Changed-Why:  
Committed, with minor changes. Thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/165352: commit references a PR
Date: Fri, 24 Feb 2012 13:00:54 +0000 (UTC)

 scheidell    2012-02-24 13:00:45 UTC
 
   FreeBSD ports repository
 
   Modified files:
     dns/powerdns         Makefile 
   Log:
   - Change boost-libs from BUILD_DEPENDS to LIB_DEPENDS. This fixes installing from packages.
   
   PR:             ports/165352
   Reported by:    Marat Bakeev <hawara@hawara.com>
   Submitted by:   Ralf van der Enden <tremere@cainites.net> (maintainer)
   Approved by:    gabor (mentor, implicit)
   Feature safe:   yes
   
   Revision  Changes    Path
   1.76      +3 -2      ports/dns/powerdns/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:
