summaryrefslogtreecommitdiff
path: root/graphics/aalib-x11
diff options
context:
space:
mode:
authorcjep <cjep@pkgsrc.org>2002-03-25 14:45:25 +0000
committercjep <cjep@pkgsrc.org>2002-03-25 14:45:25 +0000
commit0e5fd032fb2d695ed581ba91ee7a35f271d173a9 (patch)
treeda49c98ad42e697d1c7b2f520f119e948db61e59 /graphics/aalib-x11
parent30e8a9e8794c52ede708e5352d6cb391ca3b9ee2 (diff)
downloadpkgsrc-0e5fd032fb2d695ed581ba91ee7a35f271d173a9.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"