commit: d6648f0bd2f96bcdb653e7b8cea7a072806af6d5
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 22 17:23:12 2019 +0000
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Thu Aug 22 17:23:50 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6648f0b
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 <zlogene <AT> gentoo.org>
net-dns/bind-tools/bind-tools-9.14.4.ebuild | 2 ++
net-dns/bind-tools/bind-tools-9.15.2.ebuild | 2 ++
2 files changed, 4 insertions(+)
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 7090d635dc0..1185d428836 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 fe96db31c35..5602d1fded9 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