summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2004-01-11 01:19:07 +0000
committerSeemant Kulleen <seemant@gentoo.org>2004-01-11 01:19:07 +0000
commitc75cc308237ac4d29a5a8d9f4313d3c4e32a778a (patch)
tree3602f348c9fca9cad6ff71aa5578a3bda81e6652 /x11-libs
parentVersion bumped (diff)
downloadhistorical-c75cc308237ac4d29a5a8d9f4313d3c4e32a778a.tar.gz
historical-c75cc308237ac4d29a5a8d9f4313d3c4e32a778a.tar.bz2
historical-c75cc308237ac4d29a5a8d9f4313d3c4e32a778a.zip
Upstream needs to learn the definition of consistency -- use_enable and use_with can not be used, unfortunately, because to enable, you have to issue --with and to disable, you have to issue --disable. That's plainly incompetent.
Diffstat (limited to 'x11-libs')
-rw-r--r--x11-libs/gai/ChangeLog8
-rw-r--r--x11-libs/gai/Manifest4
-rw-r--r--x11-libs/gai/gai-0.5.0_pre6.ebuild20
3 files changed, 26 insertions, 6 deletions
diff --git a/x11-libs/gai/ChangeLog b/x11-libs/gai/ChangeLog
index ebc6788368e6..f14ffd6db333 100644
--- a/x11-libs/gai/ChangeLog
+++ b/x11-libs/gai/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for x11-libs/gai
# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/gai/ChangeLog,v 1.2 2004/01/11 01:04:35 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/gai/ChangeLog,v 1.3 2004/01/11 01:18:50 seemant Exp $
+
+ 10 Jan 2004; Seemant Kulleen <seemant@gentoo.org> gai-0.5.0_pre6.ebuild:
+ Upstream needs to learn the definition of consistency -- use_enable and
+ use_with can not be used, unfortunately, because to enable, you have to issue
+ --with and to disable, you have to issue --disable. That's plainly
+ incompetent.
10 Jan 2004; Seemant Kulleen <seemant@gentoo.org> gai-0.5.0_pre6.ebuild:
switch to use_enable and other cleanups. Thanks to Charles Allen
diff --git a/x11-libs/gai/Manifest b/x11-libs/gai/Manifest
index 993b503dbd06..e4f34355f364 100644
--- a/x11-libs/gai/Manifest
+++ b/x11-libs/gai/Manifest
@@ -1,4 +1,4 @@
-MD5 06d0869c7f67cb7a9fcadfed475179c6 gai-0.5.0_pre6.ebuild 1049
-MD5 2d25da72176a39fc82850e991966c1b0 ChangeLog 587
+MD5 41d0a3243e5ad6a4fec48c12c31b21d4 gai-0.5.0_pre6.ebuild 1462
+MD5 1eda3d80bdd13ad6437e74e159224de9 ChangeLog 901
MD5 4de810beafe6af976494dfe29abd5c60 metadata.xml 405
MD5 2cc1df4e270e1be3a526f9609c89accc files/digest-gai-0.5.0_pre6 66
diff --git a/x11-libs/gai/gai-0.5.0_pre6.ebuild b/x11-libs/gai/gai-0.5.0_pre6.ebuild
index 1c25041de228..f65cbecf7f96 100644
--- a/x11-libs/gai/gai-0.5.0_pre6.ebuild
+++ b/x11-libs/gai/gai-0.5.0_pre6.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/gai/gai-0.5.0_pre6.ebuild,v 1.2 2004/01/11 01:04:35 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/gai/gai-0.5.0_pre6.ebuild,v 1.3 2004/01/11 01:18:50 seemant Exp $
IUSE="opengl gnome"
@@ -21,10 +21,24 @@ S=${WORKDIR}/${MY_P}
src_compile() {
# works with just set prefix (doesn't hardcode the prefix anywhere)!
+ local myconf
+
+ # Someone please tell upstream that the way to enable/disable things in
+ # configure scripts should be bloody well consistent -- it's in poor taste
+ # and downright incompetent to have to use --with if you want something
+ # and --disable if you don't
+
+ use opengl \
+ && myconf="${myconf} --with-gl" \
+ || myconf="${myconf} --disable-gl"
+
+ use gnome \
+ && myconf="${myconf} --with-gnome" \
+ || myconf="${myconf} --disable-gnome"
+
econf \
--prefix=${D}/usr \
- `use_enable opengl gl` \
- `use_enable gnome` || die
+ ${myconf} || die
emake || die
}