summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-09-29 09:26:19 -0400
committerMike Frysinger <vapier@gentoo.org>2015-09-29 09:26:19 -0400
commit1d216bebe384a87e1ed336d5124cd5b9c4f61fe9 (patch)
tree0810f1c568800f1631548684526dfd8caa7f833e /sys-libs/binutils-libs
parentsys-libs/zlib: drop old (diff)
downloadgentoo-1d216bebe384a87e1ed336d5124cd5b9c4f61fe9.tar.gz
gentoo-1d216bebe384a87e1ed336d5124cd5b9c4f61fe9.tar.bz2
gentoo-1d216bebe384a87e1ed336d5124cd5b9c4f61fe9.zip
sys-libs/binutils-libs: add multilib support #558902
Diffstat (limited to 'sys-libs/binutils-libs')
-rw-r--r--sys-libs/binutils-libs/binutils-libs-2.25.1-r1.ebuild (renamed from sys-libs/binutils-libs/binutils-libs-2.25.1.ebuild)12
1 files changed, 8 insertions, 4 deletions
diff --git a/sys-libs/binutils-libs/binutils-libs-2.25.1.ebuild b/sys-libs/binutils-libs/binutils-libs-2.25.1-r1.ebuild
index 9faa28dd251d..b6b22066e8d7 100644
--- a/sys-libs/binutils-libs/binutils-libs-2.25.1.ebuild
+++ b/sys-libs/binutils-libs/binutils-libs-2.25.1-r1.ebuild
@@ -6,7 +6,7 @@ EAPI="5"
PATCHVER="1.1"
-inherit eutils
+inherit eutils multilib-minimal
MY_PN="binutils"
MY_P="${MY_PN}-${PV}"
@@ -41,7 +41,7 @@ pkgversion() {
[[ -n ${PATCHVER} ]] && printf " p${PATCHVER}"
}
-src_configure() {
+multilib_src_configure() {
local myconf=(
$(use_with zlib)
--enable-obsolete
@@ -66,12 +66,16 @@ src_configure() {
&& myconf+=( --without-included-gettext ) \
|| myconf+=( --disable-nls )
+ ECONF_SOURCE=${S} \
econf "${myconf[@]}"
}
-src_install() {
+multilib_src_install() {
default
- use static-libs || find "${ED}"/usr -name '*.la' -delete
# Provide libiberty.h directly.
dosym libiberty/libiberty.h /usr/include/libiberty.h
}
+
+multilib_src_install_all() {
+ use static-libs || find "${ED}"/usr -name '*.la' -delete
+}