diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2012-01-23 15:44:46 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2012-01-23 15:44:46 +0000 |
commit | c83c0e37fb5b4e0c302eba83792d6fe7430deb9e (patch) | |
tree | 0bd7673e047709c6d0ff3ef3f6a5b7007deadd3f /sys-libs/slang | |
parent | Stable on alpha, bug #388475 (diff) | |
download | gentoo-2-c83c0e37fb5b4e0c302eba83792d6fe7430deb9e.tar.gz gentoo-2-c83c0e37fb5b4e0c302eba83792d6fe7430deb9e.tar.bz2 gentoo-2-c83c0e37fb5b4e0c302eba83792d6fe7430deb9e.zip |
USE="static-libs" to control the building of libslang.a static archive wrt #399841 by Maurizio Camisaschi
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
Diffstat (limited to 'sys-libs/slang')
-rw-r--r-- | sys-libs/slang/ChangeLog | 6 | ||||
-rw-r--r-- | sys-libs/slang/slang-2.2.4.ebuild | 8 |
2 files changed, 9 insertions, 5 deletions
diff --git a/sys-libs/slang/ChangeLog b/sys-libs/slang/ChangeLog index 1a3237539fa9..796e88eb9626 100644 --- a/sys-libs/slang/ChangeLog +++ b/sys-libs/slang/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-libs/slang # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/slang/ChangeLog,v 1.121 2012/01/23 15:15:31 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/slang/ChangeLog,v 1.122 2012/01/23 15:44:46 ssuominen Exp $ + + 23 Jan 2012; Samuli Suominen <ssuominen@gentoo.org> slang-2.2.4.ebuild: + USE="static-libs" to control the building of libslang.a static archive wrt + #399841 by Maurizio Camisaschi 23 Jan 2012; Agostino Sarubbo <ago@gentoo.org> slang-2.2.4.ebuild: Stable for amd64, wrt bug #397239 diff --git a/sys-libs/slang/slang-2.2.4.ebuild b/sys-libs/slang/slang-2.2.4.ebuild index 14e2c6a18bc4..9c7e48308eeb 100644 --- a/sys-libs/slang/slang-2.2.4.ebuild +++ b/sys-libs/slang/slang-2.2.4.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/slang/slang-2.2.4.ebuild,v 1.2 2012/01/23 15:15:31 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/slang/slang-2.2.4.ebuild,v 1.3 2012/01/23 15:44:46 ssuominen Exp $ EAPI=4 inherit eutils @@ -12,7 +12,7 @@ SRC_URI="mirror://slang/v${PV%.*}/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd" -IUSE="cjk pcre png readline zlib" +IUSE="cjk pcre png readline static-libs zlib" # ncurses for ncurses5-config to get terminfo directory RDEPEND="sys-libs/ncurses @@ -45,7 +45,7 @@ src_configure() { } src_compile() { - emake elf static + emake elf $(use static-libs && echo static) pushd slsh >/dev/null emake slsh @@ -53,7 +53,7 @@ src_compile() { } src_install() { - emake DESTDIR="${D}" install-all + emake DESTDIR="${D}" install-elf $(use static-libs && echo install-static) rm -rf "${D}"/usr/share/doc/{slang,slsh} |