summaryrefslogtreecommitdiff
path: root/chat/gabber
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2002-08-09 03:01:24 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2002-08-09 03:01:24 +0000
commite74cd8a2422a1374bfbeb150733f8e8a96cff82b (patch)
tree4db4847d3bd7b0c0a809c7be5d4175efaea5c7b6 /chat/gabber
parent832987946069900c3282db76575b495a2763c054 (diff)
downloadpkgsrc-e74cd8a2422a1374bfbeb150733f8e8a96cff82b.tar.gz
on systems with ecgs, use the gcc package to avoid a c++ compiler bug.
fixes recently noted compile problems on 1.5.3/alpha
Diffstat (limited to 'chat/gabber')
-rw-r--r--chat/gabber/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/chat/gabber/Makefile b/chat/gabber/Makefile
index 119d53d1beb..831e0ecaa1d 100644
--- a/chat/gabber/Makefile
+++ b/chat/gabber/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2002/07/16 11:56:45 agc Exp $
+# $NetBSD: Makefile,v 1.3 2002/08/09 03:01:24 dmcmahill Exp $
DISTNAME= gabber-0.8.7
CATEGORIES= chat
@@ -17,6 +17,12 @@ LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --disable-xmms
+GCC_VERSION!= gcc --version
+.if (${GCC_VERSION:C/-.*$$//} == egcs)
+# "egcs" cannot be used, as this package tickles c++ compiler bugs
+.include "../../lang/gcc/Makefile.gcc"
+.endif
+
.include "../../textproc/scrollkeeper/buildlink.mk"
.include "../../x11/gnome-libs/buildlink.mk"
.include "../../devel/libglade/buildlink.mk"