summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2011-06-12 11:26:29 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2011-06-12 11:26:29 +0000
commit8bf7051c3ac28b87624b50189a3cb0ee82afcaeb (patch)
tree87624b3a65d67b6050dc9ea0db9969b44773a85c /media-libs/giflib
parentVersion bump, fixes bug 367357. Add upstream maintainer to metadata.xml (diff)
downloadgentoo-2-8bf7051c3ac28b87624b50189a3cb0ee82afcaeb.tar.gz
gentoo-2-8bf7051c3ac28b87624b50189a3cb0ee82afcaeb.tar.bz2
gentoo-2-8bf7051c3ac28b87624b50189a3cb0ee82afcaeb.zip
Introduce (add back) optional support for static libraries as per bug #371173.
(Portage version: 2.2.0_alpha39/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/giflib')
-rw-r--r--media-libs/giflib/ChangeLog6
-rw-r--r--media-libs/giflib/giflib-4.1.6-r1.ebuild10
2 files changed, 10 insertions, 6 deletions
diff --git a/media-libs/giflib/ChangeLog b/media-libs/giflib/ChangeLog
index 7359e8db3c0c..a848eb49de41 100644
--- a/media-libs/giflib/ChangeLog
+++ b/media-libs/giflib/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-libs/giflib
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/giflib/ChangeLog,v 1.61 2011/05/05 15:20:19 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/giflib/ChangeLog,v 1.62 2011/06/12 11:26:29 scarabeus Exp $
+
+ 12 Jun 2011; Tomáš Chvátal <scarabeus@gentoo.org> giflib-4.1.6-r1.ebuild:
+ Introduce (add back) optional support for static libraries as per bug
+ #371173.
05 May 2011; Tomáš Chvátal <scarabeus@gentoo.org> giflib-4.1.6-r1.ebuild:
Punt static library and .la file archive.
diff --git a/media-libs/giflib/giflib-4.1.6-r1.ebuild b/media-libs/giflib/giflib-4.1.6-r1.ebuild
index dee1c647673c..a6ba9df4c14e 100644
--- a/media-libs/giflib/giflib-4.1.6-r1.ebuild
+++ b/media-libs/giflib/giflib-4.1.6-r1.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/media-libs/giflib/giflib-4.1.6-r1.ebuild,v 1.8 2011/05/05 15:20:19 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/giflib/giflib-4.1.6-r1.ebuild,v 1.9 2011/06/12 11:26:29 scarabeus Exp $
EAPI=4
@@ -13,9 +13,9 @@ SRC_URI="mirror://sourceforge/giflib/${P}.tar.bz2"
LICENSE="MIT"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
-IUSE="rle X"
+IUSE="rle static-libs X"
-DEPEND="!media-libs/libungif
+DEPEND="
X? (
x11-libs/libXt
x11-libs/libX11
@@ -42,15 +42,15 @@ src_configure() {
fi
econf \
- --disable-static \
--disable-gl \
+ $(use_enable static-libs static) \
$(use_enable X x11) \
${myconf}
}
src_install() {
default
- find "${ED}" -name '*.la' -delete
+ find "${ED}" -name '*.la' -exec rm -f {} +
dodoc AUTHORS BUGS ChangeLog NEWS ONEWS README TODO doc/*.txt
dohtml -r doc
}