From d6648f0bd2f96bcdb653e7b8cea7a072806af6d5 Mon Sep 17 00:00:00 2001 From: Mikle Kolyada Date: Thu, 22 Aug 2019 20:23:12 +0300 Subject: [PATCH] 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 --- 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 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 -- 2.26.2