Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Sep 2013 19:07:25 +1000 (EST)
From:      Kubilay Kocak <koobs.freebsd@gmail.com>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        jaap@NLnetLabs.nl
Subject:   ports/182224: [PATCH] dns/ldns: Fix linking for py-ldns when Python is linked to LOCALBASE libs
Message-ID:  <20130919090725.C0A783AC59@9-STABLE-amd64.elysium>
Resent-Message-ID: <201309190910.r8J9A2sg063756@freefall.freebsd.org>

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

>Number:         182224
>Category:       ports
>Synopsis:       [PATCH] dns/ldns: Fix linking for py-ldns when Python is linked to LOCALBASE libs
>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:   Thu Sep 19 09:10:01 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Kubilay Kocak
>Release:        FreeBSD 9.2-PRERELEASE amd64
>Organization:
>Environment:
System: FreeBSD 9-STABLE-amd64.elysium 9.2-PRERELEASE FreeBSD 9.2-PRERELEASE #0 r254557: Tue Aug 20 21:44:31 EST
>Description:
dns/ldns: Fix linking for py-ldns when Python is linked to LOCALBASE libs

- Bump port revision
- Add LDFLAGS for PYLDNS

portlint: WARN: Makefile: "PKGNAMEPREFIX" has to appear earlier. (fp?)
porttest: ??? whats up with pkg-plist, is this not PREFIX safe ???
unittest: 
 - Ran 68 tests in 12.590s - OK
 - Ran 6 tests in 41.549s - OK

Port maintainer (jaap@NLnetLabs.nl) is cc'd.

Generated with FreeBSD Port Tools 0.99_8 (mode: change, diff: ports)
>How-To-Repeat:
>Fix:

--- ldns-1.6.16_3.patch begins here ---
diff -ruN /usr/ports/dns/ldns/Makefile ./Makefile
--- /usr/ports/dns/ldns/Makefile	2013-09-06 00:37:34.000000000 +1000
+++ ./Makefile	2013-09-17 21:32:54.002968827 +1000
@@ -1,9 +1,9 @@
 # Created by: Konstantin Saurbier <saurbier@math.uni-bielefeld.de>
-# $FreeBSD: dns/ldns/Makefile 326404 2013-09-05 14:37:34Z sem $
+# $FreeBSD: head/dns/ldns/Makefile 326404 2013-09-05 14:37:34Z sem $
 
 PORTNAME=	ldns
 PORTVERSION=	1.6.16
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	dns
 MASTER_SITES=	http://www.nlnetlabs.nl/downloads/ldns/ \
 		CRITICAL
@@ -38,6 +38,7 @@
 INSTALL_TARGET=	install-pyldns
 
 CONFIGURE_ARGS+=--with-pyldns
+LDFLAGS+=	-L${LOCALBASE}/lib
 LIB_DEPENDS+=	ldns:${PORTSDIR}/dns/ldns
 BUILD_DEPENDS+=	${LOCALBASE}/bin/swig:${PORTSDIR}/devel/swig13
 
--- ldns-1.6.16_3.patch ends here ---

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



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