summaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
authorcjep <cjep>2002-04-20 15:22:25 +0000
committercjep <cjep>2002-04-20 15:22:25 +0000
commit2abe396d58ecfafe0e7e9b59b0de684dbcb2f868 (patch)
tree9ee30644a752b9042e99806f59d3344dbcf39c0b /cad
parente96471f67dab84ebc1a9aa061cf4ab0a3c2bb470 (diff)
downloadpkgsrc-2abe396d58ecfafe0e7e9b59b0de684dbcb2f868.tar.gz
On arm32, use gcc-2.95.3 to avoid an internal egcs compiler error.
Diffstat (limited to 'cad')
-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