summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2011-10-25 05:59:59 +0000
committerJustin Lecher <jlec@gentoo.org>2011-10-25 05:59:59 +0000
commit3e8e0d1feccd4d8bb91cd30397e42538bf5b9307 (patch)
tree1c102b75cadd84143eaa9db83e4e2b85de46c997 /dev-tcltk/blt
parentApply libpng-1.5 patch to 2.9 as well. (diff)
downloadgentoo-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')
-rw-r--r--dev-tcltk/blt/ChangeLog5
-rw-r--r--dev-tcltk/blt/blt-2.4z-r10.ebuild8
2 files changed, 10 insertions, 3 deletions
diff --git a/dev-tcltk/blt/ChangeLog b/dev-tcltk/blt/ChangeLog
index 16fd69a120cf..41931b734254 100644
--- a/dev-tcltk/blt/ChangeLog
+++ b/dev-tcltk/blt/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-tcltk/blt
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/blt/ChangeLog,v 1.50 2011/10/24 20:25:24 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/blt/ChangeLog,v 1.51 2011/10/25 05:59:59 jlec Exp $
+
+ 25 Oct 2011; Justin Lecher <jlec@gentoo.org> blt-2.4z-r10.ebuild:
+ Added USE=static-libs requested by ago
24 Oct 2011; Markus Meier <maekke@gentoo.org> blt-2.4z-r5.ebuild:
arm stable, bug #387849
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
}