summaryrefslogtreecommitdiff
path: root/math/scilab
diff options
context:
space:
mode:
authorBeech Rintoul <beech@FreeBSD.org>2011-08-04 07:23:17 +0000
committerBeech Rintoul <beech@FreeBSD.org>2011-08-04 07:23:17 +0000
commit6fec0b5ff6800c0640d5309d9dea6c85a153c06d (patch)
treed4caab1179ca57fe4069873b6d6e6d5e73d4caef /math/scilab
parent- Update to 4 (diff)
- Fix bashism in the configure script that works on FreeBSD 9 but not 8 (or presumably 7).
PR: ports/159406 Submitted by: Rob Farmer <rfarmer@predatorlabs.net> (maintainer)
Notes
Notes: svn path=/head/; revision=278889
Diffstat (limited to 'math/scilab')
-rw-r--r--math/scilab/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/math/scilab/Makefile b/math/scilab/Makefile
index 87a6a22a1289..a25c56a59ff7 100644
--- a/math/scilab/Makefile
+++ b/math/scilab/Makefile
@@ -188,6 +188,8 @@ post-patch:
@${REINPLACE_CMD} -e 's|-ldl | |' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|-lumfpack|-lumfpack -lamd -lcholmod -lcolamd $$BLAS_LIBS $$LAPACK_LIBS|g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|TCLTK_LIBS=" -ldl"|TCLTK_LIBS=" "|' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|"x=" ==|"x" =|g' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|"x" ==|"x" =|g' ${WRKSRC}/configure
@# Build fixes
@${REINPLACE_CMD} -e 's|$$(CFLAGS:-O%=)|-I${LOCALBASE}/include -L${LOCALBASE}/lib|' ${WRKSRC}/modules/elementary_functions/Makefile.in
@${REINPLACE_CMD} -e 's|freebsd|__FreeBSD__|g' ${WRKSRC}/modules/sparse/includes/spConfig.h