commit:     f9610de202f5f50abef2fe675b9fa2c05555dd77
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 14 15:36:06 2018 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Fri Sep 14 22:03:42 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9610de2

net-dns/unbound: add patch to define PKG_CONFIG in configure

Closes: https://bugs.gentoo.org/666218
Package-Manager: Portage-2.3.49, Repoman-2.3.10

 net-dns/unbound/files/unbound-1.6.3-pkg-config.patch | 11 +++++++++++
 net-dns/unbound/unbound-1.7.3-r1.ebuild              |  1 +
 net-dns/unbound/unbound-1.8.0-r1.ebuild              |  1 +
 3 files changed, 13 insertions(+)

diff --git a/net-dns/unbound/files/unbound-1.6.3-pkg-config.patch 
b/net-dns/unbound/files/unbound-1.6.3-pkg-config.patch
new file mode 100644
index 00000000000..36adac8dc11
--- /dev/null
+++ b/net-dns/unbound/files/unbound-1.6.3-pkg-config.patch
@@ -0,0 +1,11 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -95,6 +95,8 @@ AC_SUBST(LIBUNBOUND_CURRENT)
+ AC_SUBST(LIBUNBOUND_REVISION)
+ AC_SUBST(LIBUNBOUND_AGE)
+ 
++PKG_PROG_PKG_CONFIG
++
+ CFLAGS="$CFLAGS"
+ AC_AIX
+ if test "$ac_cv_header_minix_config_h" = "yes"; then

diff --git a/net-dns/unbound/unbound-1.7.3-r1.ebuild 
b/net-dns/unbound/unbound-1.7.3-r1.ebuild
index 00377736609..d80538d81d7 100644
--- a/net-dns/unbound/unbound-1.7.3-r1.ebuild
+++ b/net-dns/unbound/unbound-1.7.3-r1.ebuild
@@ -57,6 +57,7 @@ RDEPEND="${RDEPEND}
 
 PATCHES=(
        "${FILESDIR}"/${PN}-1.5.7-trust-anchor-file.patch
+       "${FILESDIR}"/${PN}-1.6.3-pkg-config.patch
 )
 
 S=${WORKDIR}/${MY_P}

diff --git a/net-dns/unbound/unbound-1.8.0-r1.ebuild 
b/net-dns/unbound/unbound-1.8.0-r1.ebuild
index 042d7bd7254..fe9085aac35 100644
--- a/net-dns/unbound/unbound-1.8.0-r1.ebuild
+++ b/net-dns/unbound/unbound-1.8.0-r1.ebuild
@@ -57,6 +57,7 @@ RDEPEND="${RDEPEND}
 
 PATCHES=(
        "${FILESDIR}"/${PN}-1.5.7-trust-anchor-file.patch
+       "${FILESDIR}"/${PN}-1.6.3-pkg-config.patch
 )
 
 S=${WORKDIR}/${MY_P}

Reply via email to