diff options
author | Tomas Chvatal <scarabeus@gentoo.org> | 2011-10-23 12:03:00 +0000 |
---|---|---|
committer | Tomas Chvatal <scarabeus@gentoo.org> | 2011-10-23 12:03:00 +0000 |
commit | 9fe8c9d84c0005b15ac46dc94780d6f3144c8032 (patch) | |
tree | b9f50d356662896cc1b668ee30148857faa4579f | |
parent | arm stable, bug #386963 (diff) | |
download | gentoo-2-9fe8c9d84c0005b15ac46dc94780d6f3144c8032.tar.gz gentoo-2-9fe8c9d84c0005b15ac46dc94780d6f3144c8032.tar.bz2 gentoo-2-9fe8c9d84c0005b15ac46dc94780d6f3144c8032.zip |
Make static libs optional
(Portage version: 2.2.0_alpha70/cvs/Linux x86_64)
-rw-r--r-- | dev-libs/yajl/ChangeLog | 5 | ||||
-rw-r--r-- | dev-libs/yajl/yajl-2.0.2.ebuild | 9 |
2 files changed, 11 insertions, 3 deletions
diff --git a/dev-libs/yajl/ChangeLog b/dev-libs/yajl/ChangeLog index cb817e4e5932..84151f4fdaa1 100644 --- a/dev-libs/yajl/ChangeLog +++ b/dev-libs/yajl/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-libs/yajl # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/yajl/ChangeLog,v 1.15 2011/10/18 16:51:28 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/yajl/ChangeLog,v 1.16 2011/10/23 12:03:00 scarabeus Exp $ + + 23 Oct 2011; Tomáš Chvátal <scarabeus@gentoo.org> yajl-2.0.2.ebuild: + Make static libs optional 18 Oct 2011; Samuli Suominen <ssuominen@gentoo.org> yajl-1.0.11.ebuild: ppc/ppc64 stable wrt #382641 diff --git a/dev-libs/yajl/yajl-2.0.2.ebuild b/dev-libs/yajl/yajl-2.0.2.ebuild index 0fcaa71e7e2b..7a66ee9eae07 100644 --- a/dev-libs/yajl/yajl-2.0.2.ebuild +++ b/dev-libs/yajl/yajl-2.0.2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/yajl/yajl-2.0.2.ebuild,v 1.5 2011/10/17 20:19:18 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/yajl/yajl-2.0.2.ebuild,v 1.6 2011/10/23 12:03:00 scarabeus Exp $ EAPI=4 @@ -14,7 +14,7 @@ LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86" -IUSE="" +IUSE="static-libs" PATCHES=( "${FILESDIR}"/${PN}-fix_static_linking.patch @@ -32,3 +32,8 @@ src_test() { emake test popd > /dev/null } + +src_install() { + cmake-utils_src_install + use static-libs || find "${ED}" -name '*.a' -exec rm -f {} + +} |