summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-12-21 03:46:01 +0000
committerMike Frysinger <vapier@gentoo.org>2012-12-21 03:46:01 +0000
commitc76cae2af73a6d43ee449528dfef6ce2fad2895b (patch)
tree49e02b23ea4bb30b619b62564298d40efca69d8a /sys-libs/libieee1284
parentVersion bump #447988 by Agostino Sarubbo. (diff)
downloadgentoo-2-c76cae2af73a6d43ee449528dfef6ce2fad2895b.tar.gz
gentoo-2-c76cae2af73a6d43ee449528dfef6ce2fad2895b.tar.bz2
gentoo-2-c76cae2af73a6d43ee449528dfef6ce2fad2895b.zip
Only setup python when USE=python #446612 by Elfenbein, Karsten.
(Portage version: 2.2.0_alpha144/cvs/Linux x86_64, signed Manifest commit with key FB7C4156)
Diffstat (limited to 'sys-libs/libieee1284')
-rw-r--r--sys-libs/libieee1284/ChangeLog5
-rw-r--r--sys-libs/libieee1284/libieee1284-0.2.11-r2.ebuild11
2 files changed, 10 insertions, 6 deletions
diff --git a/sys-libs/libieee1284/ChangeLog b/sys-libs/libieee1284/ChangeLog
index 3e2199e0eb8e..3fc73fe3519d 100644
--- a/sys-libs/libieee1284/ChangeLog
+++ b/sys-libs/libieee1284/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-libs/libieee1284
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libieee1284/ChangeLog,v 1.32 2012/05/12 11:03:23 xarthisius Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libieee1284/ChangeLog,v 1.33 2012/12/21 03:46:01 vapier Exp $
+
+ 21 Dec 2012; Mike Frysinger <vapier@gentoo.org> libieee1284-0.2.11-r2.ebuild:
+ Only setup python when USE=python #446612 by Elfenbein, Karsten.
12 May 2012; Kacper Kowalik <xarthisius@gentoo.org>
libieee1284-0.2.11-r1.ebuild, libieee1284-0.2.11-r2.ebuild:
diff --git a/sys-libs/libieee1284/libieee1284-0.2.11-r2.ebuild b/sys-libs/libieee1284/libieee1284-0.2.11-r2.ebuild
index 99ef4605d835..c9fa3f665b5a 100644
--- a/sys-libs/libieee1284/libieee1284-0.2.11-r2.ebuild
+++ b/sys-libs/libieee1284/libieee1284-0.2.11-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libieee1284/libieee1284-0.2.11-r2.ebuild,v 1.6 2012/05/12 11:03:23 xarthisius Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libieee1284/libieee1284-0.2.11-r2.ebuild,v 1.7 2012/12/21 03:46:01 vapier Exp $
EAPI="3"
@@ -26,18 +26,19 @@ DEPEND="${RDEPEND}
)"
pkg_setup() {
- python_set_active_version 2
+ use python && python_set_active_version 2
}
src_configure() {
econf \
- --enable-shared $(use_enable static-libs static) \
+ --enable-shared \
+ $(use_enable static-libs static) \
$(use_with python) \
--disable-dependency-tracking
}
src_install () {
- emake DESTDIR="${D}" install || die "emake install failed"
+ emake DESTDIR="${D}" install || die
find "${D}" -name '*.la' -delete
- dodoc AUTHORS NEWS README* TODO doc/interface* || die
+ dodoc AUTHORS NEWS README* TODO doc/interface*
}