summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlastair Tse <liquidx@gentoo.org>2004-02-04 20:50:08 +0000
committerAlastair Tse <liquidx@gentoo.org>2004-02-04 20:50:08 +0000
commit4ee1a44d64d01b5d29aa275c0a32ecaf1a87ff3a (patch)
treec30f6bdda9c1ae6b743ec0e3e34461ead93e4a24 /net-misc/d4x/d4x-2.4.1-r1.ebuild
parentrepoman: Fix leading whitespace (diff)
downloadhistorical-4ee1a44d64d01b5d29aa275c0a32ecaf1a87ff3a.tar.gz
historical-4ee1a44d64d01b5d29aa275c0a32ecaf1a87ff3a.tar.bz2
historical-4ee1a44d64d01b5d29aa275c0a32ecaf1a87ff3a.zip
workaround deprecated gtk_ calls in 2.4.1 (#32202)
Diffstat (limited to 'net-misc/d4x/d4x-2.4.1-r1.ebuild')
-rw-r--r--net-misc/d4x/d4x-2.4.1-r1.ebuild25
1 files changed, 8 insertions, 17 deletions
diff --git a/net-misc/d4x/d4x-2.4.1-r1.ebuild b/net-misc/d4x/d4x-2.4.1-r1.ebuild
index 7e3abdd3275b..ea0ca2569688 100644
--- a/net-misc/d4x/d4x-2.4.1-r1.ebuild
+++ b/net-misc/d4x/d4x-2.4.1-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/d4x/d4x-2.4.1-r1.ebuild,v 1.3 2003/09/05 22:01:48 msterret Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/d4x/d4x-2.4.1-r1.ebuild,v 1.4 2004/02/04 20:50:08 liquidx Exp $
IUSE="nls esd gnome oss kde"
@@ -37,22 +37,13 @@ src_unpack() {
src_compile() {
- myconf=""
-
- use nls \
- && myconf="${myconf} --enable-nls" \
- || myconf="${myconf} --disable-nls"
-
- use esd \
- && myconf="${myconf} --enable-esd" \
- || myconf="${myconf} --disable-esd"
-
- use oss \
- && myconf="${myconf} --enable-oss" \
- || myconf="${myconf} --disable-oss"
-
econf --enable-release \
- ${myconf} || die
+ $(use_enable oss) \
+ $(use_enable esd) \
+ $(use_enable nls)
+
+ # workaround unsupported gtk_ calls for >=x11-libs/gtk+-2.2.4
+ sed -e 's:.*GTK_DISABLE_DEPRECATED.*::' -i ${S}/config.h
emake || die
}