Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Sep 2019 19:53:19 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 240297] dns/opendnssec{2}: Fails to configure after ldns 1.7.1 update (configure: error: Can't find ldns library)
Message-ID:  <bug-240297-7788-dHrpagMXXl@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-240297-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-240297-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D240297

Santhosh Raju <fox@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fox@FreeBSD.org
 Attachment #207165|                            |maintainer-approval?(jaap@N
              Flags|                            |LnetLabs.nl)

--- Comment #6 from Santhosh Raju <fox@FreeBSD.org> ---
Created attachment 207165
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D207165&action=
=3Dedit
Patch to add proper prefix path to ldns-config script.

(In reply to Jaap Akkerhuis from comment #5)

After fiddling around a bit, adding the following additional lines in
packaging/ldns-config.in helped it spew out the correct paths.

--- packaging/ldns-config.in.orig       2019-09-03 19:39:55 UTC
+++ packaging/ldns-config.in
@@ -1,5 +1,7 @@
 #!/bin/sh

+prefix=3D"@prefix@"
+exec_prefix=3D"@exec_prefix@"
 VERSION=3D"@PACKAGE_VERSION@"
 LDFLAGS=3D"@LDFLAGS@ @LIBSSL_LDFLAGS@ @PYTHON_LDFLAGS@"
 LIBS=3D"@LIBS@ @LIBSSL_LIBS@"


After the patching and re-installing dns/ldns, ldns-config shows

# /usr/local/bin/ldns-config --cflags --version
-I/usr/local/include
1.7.1

This also helped with building dns/opendnssec package successfully.

Let me know if this is the correct way to apply the fix.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-240297-7788-dHrpagMXXl>