summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Loeser <halcy0n@gentoo.org>2008-01-05 21:07:43 +0000
committerMark Loeser <halcy0n@gentoo.org>2008-01-05 21:07:43 +0000
commit9e914e0b303dfd862b9fe0c8999067d1efb8fde6 (patch)
tree94dfc9597042ed074c631d24a5845cf99530f7f9 /x11-libs
parentadding -1.0.4 (diff)
downloadgentoo-2-9e914e0b303dfd862b9fe0c8999067d1efb8fde6.tar.gz
gentoo-2-9e914e0b303dfd862b9fe0c8999067d1efb8fde6.tar.bz2
gentoo-2-9e914e0b303dfd862b9fe0c8999067d1efb8fde6.zip
Make openmotif actually respect USE flags when building (thanks to Jozef Siska); bug #201915
(Portage version: 2.1.4_rc14)
Diffstat (limited to 'x11-libs')
-rw-r--r--x11-libs/openmotif/ChangeLog8
-rw-r--r--x11-libs/openmotif/openmotif-2.3.0.ebuild14
2 files changed, 11 insertions, 11 deletions
diff --git a/x11-libs/openmotif/ChangeLog b/x11-libs/openmotif/ChangeLog
index d34df6dd89d1..22fffec9ec66 100644
--- a/x11-libs/openmotif/ChangeLog
+++ b/x11-libs/openmotif/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for x11-libs/openmotif
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/openmotif/ChangeLog,v 1.144 2007/12/30 17:06:32 betelgeuse Exp $
+# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/openmotif/ChangeLog,v 1.145 2008/01/05 21:07:43 halcy0n Exp $
+
+ 05 Jan 2008; Mark Loeser <halcy0n@gentoo.org> openmotif-2.3.0.ebuild:
+ Make openmotif actually respect USE flags when building (thanks to Jozef
+ Siska); bug #201915
30 Dec 2007; Petteri Räty <betelgeuse@gentoo.org>
-files/openmotif-2.1.30-CAN-2004-0687-0688.patch,
diff --git a/x11-libs/openmotif/openmotif-2.3.0.ebuild b/x11-libs/openmotif/openmotif-2.3.0.ebuild
index 6a4ee3fc122e..3571c60c7ce6 100644
--- a/x11-libs/openmotif/openmotif-2.3.0.ebuild
+++ b/x11-libs/openmotif/openmotif-2.3.0.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/openmotif/openmotif-2.3.0.ebuild,v 1.7 2007/12/30 16:54:31 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/openmotif/openmotif-2.3.0.ebuild,v 1.8 2008/01/05 21:07:43 halcy0n Exp $
WANT_AUTOCONF="latest"
WANT_AUTOMAKE="1.6"
@@ -38,8 +38,6 @@ pkg_setup() {
}
src_compile() {
- local myconf
-
# get around some LANG problems in make (#15119)
unset LANG
@@ -48,12 +46,10 @@ src_compile() {
append-flags -fno-strict-aliasing
- use xft && myconf="${myconf} `use_enable xft`"
- use jpeg && myconf="${myconf} `use_enable jpeg`"
- use png && myconf="${myconf} `use_enable png`"
-
econf --with-x \
- ${myconf} || die "configuration failed"
+ $(use_enable xft) \
+ $(use_enable jpeg) \
+ $(use_enable png) || die "configuration failed"
emake -j1 || die "make failed, if you have lesstif installed removed it, compile openmotif and recompile lesstif"
}