summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-libs/openmotif/openmotif-2.1.30-r5.ebuild')
-rw-r--r--x11-libs/openmotif/openmotif-2.1.30-r5.ebuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/x11-libs/openmotif/openmotif-2.1.30-r5.ebuild b/x11-libs/openmotif/openmotif-2.1.30-r5.ebuild
index 2930b2692a1a..a8b33ed39085 100644
--- a/x11-libs/openmotif/openmotif-2.1.30-r5.ebuild
+++ b/x11-libs/openmotif/openmotif-2.1.30-r5.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/openmotif/openmotif-2.1.30-r5.ebuild,v 1.4 2004/05/29 20:03:53 lv Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/openmotif/openmotif-2.1.30-r5.ebuild,v 1.5 2004/05/31 14:34:32 lv Exp $
inherit eutils
@@ -40,7 +40,10 @@ src_unpack() {
echo >>$cfg "#undef OptimizedCDebugFlags" && \
echo >>$cfg "#define OptimizedCDebugFlags ${CFLAGS}" && \
echo >>$cfg "#undef OptimizedCplusplusDebugFlags" && \
- echo >>$cfg "#define OptimizedCplusplusDebugFlags ${CXXFLAGS}"
+ echo >>$cfg "#define OptimizedCplusplusDebugFlags ${CXXFLAGS}" &&\
+ echo >>$cfg "#undef LinuxCLibMajorVersion" && \
+ echo >>$cfg "#define LinuxCLibMajorVersion 6"
+
eend $? || die
sed -i -e "s:#define USE_BYACC YES:#undef USE_BYACC:" config/cf/host.def
@@ -59,7 +62,6 @@ src_unpack() {
# compile on gcc 2.9x
epatch ${FILESDIR}/${P}-imake-ansi.patch
epatch ${FILESDIR}/${P}-uil-bad_grammar_fix.diff
- epatch ${FILESDIR}/${P}-gcc34.patch
}
src_compile() {