summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2002-05-25 18:47:24 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2002-05-25 18:47:24 +0000
commitda57834a77206cc2b5c372386959e1f9147c137a (patch)
tree8a87a1147159a1431d6d946fd774aeb2be1fbf48 /math
parent118052a6266b520329a2d187f069d9eff9bdd14d (diff)
downloadpkgsrc-da57834a77206cc2b5c372386959e1f9147c137a.tar.gz
use lang/gcc on arm32. Makes this compile and work on shark.
Diffstat (limited to 'math')
-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: