summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcjep <cjep>2002-04-20 15:22:25 +0000
committercjep <cjep>2002-04-20 15:22:25 +0000
commitbcd521e113f71a8b034ba5ff9a012dd69b2274c4 (patch)
tree9ee30644a752b9042e99806f59d3344dbcf39c0b
parent68e88237c4d3a2db9e4f034530143fbf850043e6 (diff)
downloadpkgsrc-bcd521e113f71a8b034ba5ff9a012dd69b2274c4.tar.gz
On arm32, use gcc-2.95.3 to avoid an internal egcs compiler error.
-rw-r--r--cad/fastcap/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/cad/fastcap/Makefile b/cad/fastcap/Makefile
index 2c55e45aeec..1d82ca5986a 100644
--- a/cad/fastcap/Makefile
+++ b/cad/fastcap/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2001/05/22 23:24:51 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2002/04/20 15:22:25 cjep Exp $
#
DISTNAME= fastcap-2.0-15Jul92
@@ -23,6 +23,11 @@ HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= ./config
CONFIGURE_ARGS= 4
+.if (${MACHINE_ARCH} == arm32)
+.include "../../lang/gcc/Makefile.gcc"
+MAKE_FLAGS+= CC=${CC}
+.endif
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/fastcap ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/bin/cubegen ${PREFIX}/bin