From f9610de202f5f50abef2fe675b9fa2c05555dd77 Mon Sep 17 00:00:00 2001 From: Thomas Deutschmann Date: Fri, 14 Sep 2018 17:36:06 +0200 Subject: [PATCH] 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(+) create mode 100644 net-dns/unbound/files/unbound-1.6.3-pkg-config.patch 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 000000000000..36adac8dc112 --- /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 003777366097..d80538d81d74 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 042d7bd7254c..fe9085aac35d 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} -- 2.26.2