From c76cae2af73a6d43ee449528dfef6ce2fad2895b Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 21 Dec 2012 03:46:01 +0000 Subject: 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) --- sys-libs/libieee1284/ChangeLog | 5 ++++- sys-libs/libieee1284/libieee1284-0.2.11-r2.ebuild | 11 ++++++----- 2 files changed, 10 insertions(+), 6 deletions(-) (limited to 'sys-libs/libieee1284') 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 libieee1284-0.2.11-r2.ebuild: + Only setup python when USE=python #446612 by Elfenbein, Karsten. 12 May 2012; Kacper Kowalik 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* } -- cgit v1.2.3-65-gdbad