summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2012-11-11 17:58:21 +0000
committerJustin Lecher <jlec@gentoo.org>2012-11-11 17:58:21 +0000
commit3ed262c0c469cf770b04ce4ca4693206e36c16c0 (patch)
treeeaf35b6b7c0730321f701b64e00320d4867ff91b /dev-tcltk
parentMove forward ppc,ppc64 keywords, oops. (diff)
downloadgentoo-2-3ed262c0c469cf770b04ce4ca4693206e36c16c0.tar.gz
gentoo-2-3ed262c0c469cf770b04ce4ca4693206e36c16c0.tar.bz2
gentoo-2-3ed262c0c469cf770b04ce4ca4693206e36c16c0.zip
dev-tcltk/tkimg: Handle static-libs
(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key 8009D6F070EB7916)
Diffstat (limited to 'dev-tcltk')
-rw-r--r--dev-tcltk/tkimg/ChangeLog5
-rw-r--r--dev-tcltk/tkimg/tkimg-1.4-r7.ebuild8
2 files changed, 10 insertions, 3 deletions
diff --git a/dev-tcltk/tkimg/ChangeLog b/dev-tcltk/tkimg/ChangeLog
index e5b420ed54b4..be9134582907 100644
--- a/dev-tcltk/tkimg/ChangeLog
+++ b/dev-tcltk/tkimg/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-tcltk/tkimg
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tkimg/ChangeLog,v 1.51 2012/10/07 09:55:44 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tkimg/ChangeLog,v 1.52 2012/11/11 17:58:21 jlec Exp $
+
+ 11 Nov 2012; Justin Lecher <jlec@gentoo.org> tkimg-1.4-r7.ebuild:
+ Handle static-libs
07 Oct 2012; Justin Lecher <jlec@gentoo.org>
files/tkimg-1.4-zlib127-gzgetc_fix.patch,
diff --git a/dev-tcltk/tkimg/tkimg-1.4-r7.ebuild b/dev-tcltk/tkimg/tkimg-1.4-r7.ebuild
index 43f24b1d9841..093fc80d147a 100644
--- a/dev-tcltk/tkimg/tkimg-1.4-r7.ebuild
+++ b/dev-tcltk/tkimg/tkimg-1.4-r7.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/dev-tcltk/tkimg/tkimg-1.4-r7.ebuild,v 1.1 2012/10/06 09:49:18 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tkimg/tkimg-1.4-r7.ebuild,v 1.2 2012/11/11 17:58:21 jlec Exp $
EAPI=4
@@ -16,10 +16,10 @@ SRC_URI="
http://dev.gentoo.org/~jlec/distfiles/${P}-gentoo+bundled-tiff.patch.xz
mirror://sourceforge/${PN}/${PV}/${MYP}.tar.bz2"
-IUSE="doc test"
SLOT="0"
LICENSE="BSD"
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc test static-libs"
RDEPEND="
dev-lang/tk
@@ -70,6 +70,10 @@ src_install() {
INSTALL_ROOT="${D}" \
install
+ if ! use static-libs; then
+ find "${ED}"/usr/$(get_libdir)/ -type f -name "*\.a" -delete || die
+ fi
+
# Make library links
for l in "${ED}"/usr/lib*/Img*/*tcl*.so; do
bl=$(basename $l)