commit:     083d5b02b802ac2c5a2c4bfdc2dd6b7de91ddd55
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Wed Dec  2 14:05:16 2020 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Wed Dec  2 14:05:32 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=083d5b02

net-dns/nsd: Run eautoreconf else some pkg-config macros are missing

Closes: https://bugs.gentoo.org/758050
Package-Manager: Portage-3.0.11, Repoman-3.0.2
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 net-dns/nsd/nsd-4.3.4.ebuild | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/net-dns/nsd/nsd-4.3.4.ebuild b/net-dns/nsd/nsd-4.3.4.ebuild
index 26d8ed0e769..46801d6b5f0 100644
--- a/net-dns/nsd/nsd-4.3.4.ebuild
+++ b/net-dns/nsd/nsd-4.3.4.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit systemd
+inherit autotools systemd
 
 # version voodoo needed only for non-release tarballs: 4.0.0_rc1 => 4.0.0rc1
 MY_PV="${PV/_beta/b}"
@@ -48,6 +48,13 @@ PATCHES=(
        "${FILESDIR}"/nsd_munin_.patch
 )
 
+src_prepare() {
+       default
+       # Required to get correct pkg-config macros with USE="systemd"
+       # see bugs #663618 and #758050
+       eautoreconf
+}
+
 src_configure() {
        local myeconfargs=(
                --enable-largefile

Reply via email to