diff options
author | Maciej Barć <xgqt@gentoo.org> | 2022-05-17 18:50:42 +0200 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2022-05-17 18:50:58 +0200 |
commit | 41642e5ac0113a9bb891938424445704bcaf2355 (patch) | |
tree | 94dfc152f71428a4f699661018799df4323048af /dev-scheme | |
parent | gstreamer-meson.eclass: Fix typos (diff) | |
download | gentoo-41642e5ac0113a9bb891938424445704bcaf2355.tar.gz gentoo-41642e5ac0113a9bb891938424445704bcaf2355.tar.bz2 gentoo-41642e5ac0113a9bb891938424445704bcaf2355.zip |
dev-scheme/guile-ncurses: add static-libs USE flag
Closes: https://bugs.gentoo.org/843614
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'dev-scheme')
-rw-r--r-- | dev-scheme/guile-ncurses/guile-ncurses-3.0-r2.ebuild (renamed from dev-scheme/guile-ncurses/guile-ncurses-3.0-r1.ebuild) | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-scheme/guile-ncurses/guile-ncurses-3.0-r1.ebuild b/dev-scheme/guile-ncurses/guile-ncurses-3.0-r2.ebuild index 19c1e87ccc47..383fdf99a5f3 100644 --- a/dev-scheme/guile-ncurses/guile-ncurses-3.0-r1.ebuild +++ b/dev-scheme/guile-ncurses/guile-ncurses-3.0-r2.ebuild @@ -12,6 +12,7 @@ SRC_URI="mirror://gnu/guile-ncurses/${P}.tar.gz" LICENSE="LGPL-3+" SLOT="0" KEYWORDS="~amd64 ~x86" +IUSE="static-libs" RESTRICT="strip" RDEPEND=" @@ -62,6 +63,18 @@ src_prepare() { eautoreconf # 843560 } +src_configure() { + econf $(use_enable static-libs static) +} + src_test() { emake check } + +src_install() { + default + + if ! use static-libs ; then + find "${ED}" -type f -name '*.la' -delete || die + fi +} |