aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbeech <beech@FreeBSD.org>2011-08-04 15:23:17 +0800
committerbeech <beech@FreeBSD.org>2011-08-04 15:23:17 +0800
commitb1db253d62767e31f8988121a435a33861136522 (patch)
tree123b0d433e16d4bcbfac0318cd0bae2341d6db89
parent2189db02440a795cd214bd29ccf8c9263294acfb (diff)
downloadfreebsd-ports-gnome-b1db253d62767e31f8988121a435a33861136522.tar.gz
freebsd-ports-gnome-b1db253d62767e31f8988121a435a33861136522.tar.zst
freebsd-ports-gnome-b1db253d62767e31f8988121a435a33861136522.zip
- 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)
-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