summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2011-03-17 16:06:07 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2011-03-17 16:06:07 +0000
commitb714a58d5d6abb03464eadf90a9ad4dc8fecd021 (patch)
tree8093babe806963a1019ed1261d2c7d3f9aa29cce /dev-libs/popt
parentold (diff)
downloadgentoo-2-b714a58d5d6abb03464eadf90a9ad4dc8fecd021.tar.gz
gentoo-2-b714a58d5d6abb03464eadf90a9ad4dc8fecd021.tar.bz2
gentoo-2-b714a58d5d6abb03464eadf90a9ad4dc8fecd021.zip
USE="static-libs" and stop installing unrequired libtool archive.
(Portage version: 2.2.0_alpha27/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/popt')
-rw-r--r--dev-libs/popt/ChangeLog7
-rw-r--r--dev-libs/popt/popt-1.16-r1.ebuild19
2 files changed, 13 insertions, 13 deletions
diff --git a/dev-libs/popt/ChangeLog b/dev-libs/popt/ChangeLog
index 08395e9fb0ce..40053f09d681 100644
--- a/dev-libs/popt/ChangeLog
+++ b/dev-libs/popt/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-libs/popt
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/popt/ChangeLog,v 1.92 2010/12/24 22:41:58 mattst88 Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/popt/ChangeLog,v 1.93 2011/03/17 16:06:07 ssuominen Exp $
+
+ 17 Mar 2011; Samuli Suominen <ssuominen@gentoo.org> popt-1.16-r1.ebuild:
+ USE="static-libs" and stop installing unrequired libtool archive.
*popt-1.16-r1 (24 Dec 2010)
diff --git a/dev-libs/popt/popt-1.16-r1.ebuild b/dev-libs/popt/popt-1.16-r1.ebuild
index 9799e339949a..1e331a751c03 100644
--- a/dev-libs/popt/popt-1.16-r1.ebuild
+++ b/dev-libs/popt/popt-1.16-r1.ebuild
@@ -1,10 +1,8 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/popt/popt-1.16-r1.ebuild,v 1.1 2010/12/24 22:41:58 mattst88 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/popt/popt-1.16-r1.ebuild,v 1.2 2011/03/17 16:06:07 ssuominen Exp $
EAPI=3
-
-# For bug 349558, epatch
inherit eutils
DESCRIPTION="Parse Options - Command line parser"
@@ -14,27 +12,26 @@ SRC_URI="http://rpm5.org/files/popt/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
-IUSE="nls"
+IUSE="nls static-libs"
RDEPEND="nls? ( virtual/libintl )"
DEPEND="nls? ( sys-devel/gettext )"
src_prepare() {
- # For bug 349558
- epatch "${FILESDIR}"/fix-popt-pkgconfig-libdir.patch
-
- sed -i \
- -e 's:lt-test1:test1:' \
- testit.sh || die
+ epatch "${FILESDIR}"/fix-popt-pkgconfig-libdir.patch #349558
+ sed -i -e 's:lt-test1:test1:' testit.sh || die
}
src_configure() {
econf \
--disable-dependency-tracking \
+ $(use_enable static-libs static) \
$(use_enable nls)
}
src_install() {
emake DESTDIR="${D}" install || die
dodoc CHANGES README || die
+
+ find "${ED}" -name '*.la' -exec rm -f {} +
}