summaryrefslogtreecommitdiff
path: root/graphics/aalib
diff options
context:
space:
mode:
authorcjep <cjep>2002-03-25 14:45:05 +0000
committercjep <cjep>2002-03-25 14:45:05 +0000
commitd6d32d34d94facde3e7724c2e02d39e4bc7d6fb0 (patch)
tree493989501aab4ad4cfc06c323c228954ac01608c /graphics/aalib
parentf015a5ba7c641d47097b6c4f8417505d9aff71d2 (diff)
downloadpkgsrc-d6d32d34d94facde3e7724c2e02d39e4bc7d6fb0.tar.gz
On arm32, pull in gcc-2.95.3 (to avoid egcs internal compiler error --
after a discussion with abs (the commit, not the compiler error :-)).
Diffstat (limited to 'graphics/aalib')
-rw-r--r--graphics/aalib/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/graphics/aalib/Makefile b/graphics/aalib/Makefile
index 7d16ecc56bd..d8da098cd84 100644
--- a/graphics/aalib/Makefile
+++ b/graphics/aalib/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2002/02/18 15:14:20 seb Exp $
+# $NetBSD: Makefile,v 1.6 2002/03/25 14:45:05 cjep Exp $
#
DISTNAME= aalib-1.4rc4
@@ -20,5 +20,14 @@ LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
CONFIGURE_ARGS+= --with-x11-driver=no
+.if (${MACHINE_ARCH} == arm32)
+ GCC_VERSION!= gcc --version
+
+. if (${GCC_VERSION:C/-.*$$//} == egcs)
+. include "../../lang/gcc/Makefile.gcc"
+. endif
+
+.endif
+
.include "../../mk/texinfo.mk"
.include "../../mk/bsd.pkg.mk"