summaryrefslogtreecommitdiff
path: root/graphics/aalib-x11
diff options
context:
space:
mode:
authorcjep <cjep>2002-03-25 14:45:25 +0000
committercjep <cjep>2002-03-25 14:45:25 +0000
commit54af0571121a2b8b52eeeb74e3be6f00e5e97a69 (patch)
treeda49c98ad42e697d1c7b2f520f119e948db61e59 /graphics/aalib-x11
parented752a120ce2eff960f6e893c582c8fee9833469 (diff)
downloadpkgsrc-54af0571121a2b8b52eeeb74e3be6f00e5e97a69.tar.gz
On arm32 pull in gcc-2.95.3 to build.
Diffstat (limited to 'graphics/aalib-x11')
-rw-r--r--graphics/aalib-x11/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/graphics/aalib-x11/Makefile b/graphics/aalib-x11/Makefile
index 93c921f10d5..7546362ef16 100644
--- a/graphics/aalib-x11/Makefile
+++ b/graphics/aalib-x11/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2002/01/30 11:31:42 agc Exp $
+# $NetBSD: Makefile,v 1.2 2002/03/25 14:45:25 cjep Exp $
#
DISTNAME= aalib-1.4rc4
@@ -18,5 +18,14 @@ USE_LIBTOOL= yes
USE_BUILDLINK_ONLY= yes
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
+.if (${MACHINE_ARCH} == arm32)
+ GCC_VERSION!= gcc --version
+
+. if (${GCC_VERSION:C/-.*$$//} == egcs)
+. include "../../lang/gcc/Makefile.gcc"
+. endif
+
+.endif
+
.include "../../mk/x11.buildlink.mk"
.include "../../mk/bsd.pkg.mk"