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
commited752a120ce2eff960f6e893c582c8fee9833469 (patch)
tree493989501aab4ad4cfc06c323c228954ac01608c /graphics/aalib
parent62338be4ff42f34cff3f1ea9806717815ef47cd2 (diff)
downloadpkgsrc-ed752a120ce2eff960f6e893c582c8fee9833469.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"