[Bug 240297] dns/opendnssec{2}: Fails to configure after ldns 1.7.1 update (configure: error: Can't find ldns library)
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Sep 3 19:53:20 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240297
Santhosh Raju <fox at FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |fox at FreeBSD.org
Attachment #207165| |maintainer-approval?(jaap at N
Flags| |LnetLabs.nl)
--- Comment #6 from Santhosh Raju <fox at FreeBSD.org> ---
Created attachment 207165
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=207165&action=edit
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="@prefix@"
+exec_prefix="@exec_prefix@"
VERSION="@PACKAGE_VERSION@"
LDFLAGS="@LDFLAGS@ @LIBSSL_LDFLAGS@ @PYTHON_LDFLAGS@"
LIBS="@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.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list