summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikle Kolyada <zlogene@gentoo.org>2019-08-22 20:23:12 +0300
committerMikle Kolyada <zlogene@gentoo.org>2019-08-22 20:23:50 +0300
commitd6648f0bd2f96bcdb653e7b8cea7a072806af6d5 (patch)
tree729435c91965d52c67d8cdb47ccb30217117c12f /net-dns
parentsys-kernel/linux-firmware: USE=initramfs requires USE=redistributable (diff)
downloadgentoo-d6648f0bd2f96bcdb653e7b8cea7a072806af6d5.tar.gz
gentoo-d6648f0bd2f96bcdb653e7b8cea7a072806af6d5.tar.bz2
gentoo-d6648f0bd2f96bcdb653e7b8cea7a072806af6d5.zip
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@gentoo.org>
Diffstat (limited to 'net-dns')
-rw-r--r--net-dns/bind-tools/bind-tools-9.14.4.ebuild2
-rw-r--r--net-dns/bind-tools/bind-tools-9.15.2.ebuild2
2 files changed, 4 insertions, 0 deletions
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