diff options
author | Justin Lecher <jlec@gentoo.org> | 2011-10-25 05:59:59 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2011-10-25 05:59:59 +0000 |
commit | 3e8e0d1feccd4d8bb91cd30397e42538bf5b9307 (patch) | |
tree | 1c102b75cadd84143eaa9db83e4e2b85de46c997 /dev-tcltk/blt/blt-2.4z-r10.ebuild | |
parent | Apply libpng-1.5 patch to 2.9 as well. (diff) | |
download | gentoo-2-3e8e0d1feccd4d8bb91cd30397e42538bf5b9307.tar.gz gentoo-2-3e8e0d1feccd4d8bb91cd30397e42538bf5b9307.tar.bz2 gentoo-2-3e8e0d1feccd4d8bb91cd30397e42538bf5b9307.zip |
Added USE=static-libs requested by ago
(Portage version: 2.2.0_alpha71/cvs/Linux x86_64)
Diffstat (limited to 'dev-tcltk/blt/blt-2.4z-r10.ebuild')
-rw-r--r-- | dev-tcltk/blt/blt-2.4z-r10.ebuild | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/dev-tcltk/blt/blt-2.4z-r10.ebuild b/dev-tcltk/blt/blt-2.4z-r10.ebuild index dd6f6c2eb872..f62998209f00 100644 --- a/dev-tcltk/blt/blt-2.4z-r10.ebuild +++ b/dev-tcltk/blt/blt-2.4z-r10.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-tcltk/blt/blt-2.4z-r10.ebuild,v 1.2 2011/10/24 17:54:44 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/blt/blt-2.4z-r10.ebuild,v 1.3 2011/10/25 05:59:59 jlec Exp $ EAPI="3" @@ -14,7 +14,7 @@ HOMEPAGE=" http://jos.decoster.googlepages.com/bltfortk8.5.2" SRC_URI="http://jos.decoster.googlepages.com/${PN}${PV}${MY_V_SUFFIX}.tar.gz" -IUSE="jpeg X" +IUSE="jpeg static-libs X" SLOT="0" LICENSE="BSD" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" @@ -105,4 +105,8 @@ src_install() { # fix for linking against shared lib with -lBLT or -lBLTlite dosym libBLT24$(get_libname) /usr/$(get_libdir)/libBLT$(get_libname) || die dosym libBLTlite24$(get_libname) /usr/$(get_libdir)/libBLTlite$(get_libname) || die + + use static-libs || \ + find "${ED}"/usr/$(get_libdir) -name "*.a" -print0 | \ + xargs -r -0 rm -fv } |