summaryrefslogtreecommitdiff
path: root/math/scilab
diff options
context:
space:
mode:
authordmcmahill <dmcmahill>2002-05-25 18:47:24 +0000
committerdmcmahill <dmcmahill>2002-05-25 18:47:24 +0000
commit5798c106e0aacba06a50ca12743b6e1dbbf39404 (patch)
tree8a87a1147159a1431d6d946fd774aeb2be1fbf48 /math/scilab
parent556b97d1213840b14f0a89680fe6ce98e3afcb3c (diff)
downloadpkgsrc-5798c106e0aacba06a50ca12743b6e1dbbf39404.tar.gz
use lang/gcc on arm32. Makes this compile and work on shark.
Diffstat (limited to 'math/scilab')
-rw-r--r--math/scilab/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/math/scilab/Makefile b/math/scilab/Makefile
index 5356500190e..1929e7e6cb4 100644
--- a/math/scilab/Makefile
+++ b/math/scilab/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.30 2002/03/05 21:05:52 dmcmahill Exp $
+# $NetBSD: Makefile,v 1.31 2002/05/25 18:47:24 dmcmahill Exp $
#
DISTNAME= ${SCIBASE}.src
@@ -52,6 +52,12 @@ pre-fetch:
${ECHO} "Without fixing this problem ${PKGNAME} will not work." ; ${FALSE} ; fi
.endif
+GCC_VERSION!= gcc --version
+.if (${GCC_VERSION:C/-.*$$//} == egcs) && (${MACHINE_ARCH} == arm32)
+.include "../../lang/gcc/Makefile.gcc"
+MAKE_FLAGS+= CC=${CC}
+.endif
+
# remove some stuff which is broken in the distfile. The config's
# are links to ../config (ie circular).
post-extract: