summaryrefslogtreecommitdiff
path: root/chat/centericq
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>2002-03-25 17:18:32 +0000
committerhubertf <hubertf@pkgsrc.org>2002-03-25 17:18:32 +0000
commit0a8e00b9160b14f65eb8d635aa745826405d13b0 (patch)
tree7d4f1e40b7a34fa387663c515ee33e144bc083a3 /chat/centericq
parentba0e7ec72a91572f44b2c37442bbd6a292c14594 (diff)
downloadpkgsrc-0a8e00b9160b14f65eb8d635aa745826405d13b0.tar.gz
Only use the gcc pkg on egcs systems
Diffstat (limited to 'chat/centericq')
-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"