From b58c33d7cfafa5889ed6ee9413da3d5a9559c23a Mon Sep 17 00:00:00 2001 From: dmcmahill Date: Fri, 9 Aug 2002 03:01:24 +0000 Subject: on systems with ecgs, use the gcc package to avoid a c++ compiler bug. fixes recently noted compile problems on 1.5.3/alpha --- chat/gabber/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'chat/gabber') 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" -- cgit v1.2.3