From: Mikle Kolyada Date: Thu, 22 Aug 2019 17:23:12 +0000 (+0300) Subject: net-dns/bind-tools: define LDFLAGS with respect to libdir X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d6648f0bd2f96bcdb653e7b8cea7a072806af6d5;p=gentoo.git net-dns/bind-tools: define LDFLAGS with respect to libdir Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Mikle Kolyada --- diff --git a/net-dns/bind-tools/bind-tools-9.14.4.ebuild b/net-dns/bind-tools/bind-tools-9.14.4.ebuild index 7090d635dc05..1185d4288364 100644 --- a/net-dns/bind-tools/bind-tools-9.14.4.ebuild +++ b/net-dns/bind-tools/bind-tools-9.14.4.ebuild @@ -47,6 +47,8 @@ PATCHES=( "${FILESDIR}"/sparc-pause-instruction.patch ) src_prepare() { default + export LDFLAGS="${LDFLAGS} -L${EPREFIX}/usr/$(get_libdir)" + # Disable tests for now, bug 406399 sed -i '/^SUBDIRS/s:tests::' bin/Makefile.in lib/Makefile.in || die diff --git a/net-dns/bind-tools/bind-tools-9.15.2.ebuild b/net-dns/bind-tools/bind-tools-9.15.2.ebuild index fe96db31c354..5602d1fded9f 100644 --- a/net-dns/bind-tools/bind-tools-9.15.2.ebuild +++ b/net-dns/bind-tools/bind-tools-9.15.2.ebuild @@ -45,6 +45,8 @@ RESTRICT="test" src_prepare() { default + export LDFLAGS="${LDFLAGS} -L${EPREFIX}/usr/$(get_libdir)" + # Disable tests for now, bug 406399 sed -i '/^SUBDIRS/s:tests::' bin/Makefile.in lib/Makefile.in || die