summaryrefslogtreecommitdiff
path: root/chat/gabber
diff options
context:
space:
mode:
authordmcmahill <dmcmahill>2002-08-09 03:01:24 +0000
committerdmcmahill <dmcmahill>2002-08-09 03:01:24 +0000
commitb58c33d7cfafa5889ed6ee9413da3d5a9559c23a (patch)
tree4db4847d3bd7b0c0a809c7be5d4175efaea5c7b6 /chat/gabber
parentbd506efc29bacb934b25584bc99beb28f041316b (diff)
downloadpkgsrc-b58c33d7cfafa5889ed6ee9413da3d5a9559c23a.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"