summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhubertf <hubertf>2002-03-25 17:18:32 +0000
committerhubertf <hubertf>2002-03-25 17:18:32 +0000
commit6a98e818f96097cea7e4f06bceb73e2df8bb30a7 (patch)
tree7d4f1e40b7a34fa387663c515ee33e144bc083a3
parent5be842a1a41ed3ad3adf37ab20ed108696cc75c2 (diff)
downloadpkgsrc-6a98e818f96097cea7e4f06bceb73e2df8bb30a7.tar.gz
Only use the gcc pkg on egcs systems
-rw-r--r--chat/centericq/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/chat/centericq/Makefile b/chat/centericq/Makefile
index 23f0864fb35..faeca5583bb 100644
--- a/chat/centericq/Makefile
+++ b/chat/centericq/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2002/03/25 01:41:04 jmc Exp $
+# $NetBSD: Makefile,v 1.6 2002/03/25 17:18:32 hubertf Exp $
#
DISTNAME= centericq-4.6.5
@@ -12,8 +12,12 @@ COMMENT= Instant Messenger interface (ICQ2000, Yahoo!, and MSN support)
GNU_CONFIGURE= yes
USE_NCURSES= yes
+GCC_VERSION!= gcc --version
+.if (${GCC_VERSION:C/-.*$$//} == egcs)
+.include "../../lang/gcc/Makefile.gcc"
+.endif
+
.include "../../devel/gettext-lib/buildlink.mk"
.include "../../devel/ncurses/buildlink.mk"
-.include "../../lang/gcc/Makefile.gcc"
.include "../../devel/libsigc++/buildlink.mk"
.include "../../mk/bsd.pkg.mk"