summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/alsa-lib/alsa-lib-1.0.27.2.ebuild')
-rw-r--r--media-libs/alsa-lib/alsa-lib-1.0.27.2.ebuild13
1 files changed, 5 insertions, 8 deletions
diff --git a/media-libs/alsa-lib/alsa-lib-1.0.27.2.ebuild b/media-libs/alsa-lib/alsa-lib-1.0.27.2.ebuild
index 7ded3e1cec55..3b1a5e666ea8 100644
--- a/media-libs/alsa-lib/alsa-lib-1.0.27.2.ebuild
+++ b/media-libs/alsa-lib/alsa-lib-1.0.27.2.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/alsa-lib/alsa-lib-1.0.27.2.ebuild,v 1.2 2013/07/30 13:05:57 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/alsa-lib/alsa-lib-1.0.27.2.ebuild,v 1.3 2014/01/04 23:06:59 mgorny Exp $
EAPI=5
@@ -32,9 +32,6 @@ pkg_setup() {
src_prepare() {
find . -name Makefile.am -exec sed -i -e '/CFLAGS/s:-g -O2::' {} + || die
- if [[ ${ABI} == ${DEFAULT_ABI} ]]; then
- use python && { sed -i -e "s:python-config:$EPYTHON-config:" configure.in || die; }
- fi
epatch_user
eautoreconf
}
@@ -42,7 +39,7 @@ src_prepare() {
multilib_src_configure() {
local myconf
# enable Python only on final ABI
- if [[ ${ABI} == ${DEFAULT_ABI} ]]; then
+ if multilib_build_binaries; then
myconf="$(use_enable python)"
else
myconf="--disable-python"
@@ -65,7 +62,7 @@ multilib_src_configure() {
multilib_src_compile() {
emake
- if [[ ${ABI} == ${DEFAULT_ABI} ]] && use doc; then
+ if multilib_build_binaries && use doc; then
emake doc
fgrep -Zrl "${S}" doc/doxygen/html | \
xargs -0 sed -i -e "s:${S}::"
@@ -74,7 +71,7 @@ multilib_src_compile() {
multilib_src_install() {
emake DESTDIR="${D}" install
- if [[ ${ABI} == ${DEFAULT_ABI} ]] && use doc; then
+ if multilib_build_binaries && use doc; then
dohtml -r doc/doxygen/html/.
fi
}