diff options
author | Jeroen Roovers <jer@gentoo.org> | 2011-08-09 04:31:06 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2011-08-09 04:31:06 +0000 |
commit | d0bdab088110b20b74dda1c9fcce550f57a14aa2 (patch) | |
tree | 42cc5177909bf7e66af94c3f1fc0287c493dea6b /dev-util/dialog | |
parent | Bug #377907 - Use package.mask for compatibility with PMS section 5.2.7, and ... (diff) | |
download | gentoo-2-d0bdab088110b20b74dda1c9fcce550f57a14aa2.tar.gz gentoo-2-d0bdab088110b20b74dda1c9fcce550f57a14aa2.tar.bz2 gentoo-2-d0bdab088110b20b74dda1c9fcce550f57a14aa2.zip |
Add USE=static-libs by Agostino Sarubbo (bug #378301).
(Portage version: 2.2.0_alpha50/cvs/Linux x86_64)
Diffstat (limited to 'dev-util/dialog')
-rw-r--r-- | dev-util/dialog/ChangeLog | 5 | ||||
-rw-r--r-- | dev-util/dialog/dialog-1.1.20110707-r1.ebuild | 13 |
2 files changed, 15 insertions, 3 deletions
diff --git a/dev-util/dialog/ChangeLog b/dev-util/dialog/ChangeLog index af7299ffa396..8c551c95af1c 100644 --- a/dev-util/dialog/ChangeLog +++ b/dev-util/dialog/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-util/dialog # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/dialog/ChangeLog,v 1.134 2011/07/21 16:51:07 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/dialog/ChangeLog,v 1.135 2011/08/09 04:31:06 jer Exp $ + + 09 Aug 2011; Jeroen Roovers <jer@gentoo.org> dialog-1.1.20110707-r1.ebuild: + Add USE=static-libs by Agostino Sarubbo (bug #378301). *dialog-1.1.20110707-r1 (21 Jul 2011) diff --git a/dev-util/dialog/dialog-1.1.20110707-r1.ebuild b/dev-util/dialog/dialog-1.1.20110707-r1.ebuild index 016dc21365fc..3db4b0a235eb 100644 --- a/dev-util/dialog/dialog-1.1.20110707-r1.ebuild +++ b/dev-util/dialog/dialog-1.1.20110707-r1.ebuild @@ -1,9 +1,11 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/dialog/dialog-1.1.20110707-r1.ebuild,v 1.1 2011/07/21 16:51:07 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/dialog/dialog-1.1.20110707-r1.ebuild,v 1.2 2011/08/09 04:31:06 jer Exp $ EAPI="2" +inherit autotools-utils multilib + MY_PV="${PV/1.1./1.1-}" S=${WORKDIR}/${PN}-${MY_PV} DESCRIPTION="tool to display dialog boxes from a shell" @@ -13,7 +15,7 @@ SRC_URI="ftp://invisible-island.net/${PN}/${PN}-${MY_PV}.tgz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd" -IUSE="examples minimal nls unicode" +IUSE="examples minimal nls static-libs unicode" RDEPEND=" >=app-shells/bash-2.04-r3 @@ -52,4 +54,11 @@ src_install() { docinto samples dodoc samples/* fi + + if ! use static-libs; then + rm \ + "${D}"usr/$(get_libdir)/libdialog.a \ + "${D}"usr/$(get_libdir)/libdialog.la \ + || die + fi } |