From 6fec0b5ff6800c0640d5309d9dea6c85a153c06d Mon Sep 17 00:00:00 2001 From: Beech Rintoul Date: Thu, 4 Aug 2011 07:23:17 +0000 Subject: - Fix bashism in the configure script that works on FreeBSD 9 but not 8 (or presumably 7). PR: ports/159406 Submitted by: Rob Farmer (maintainer) --- math/scilab/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'math/scilab') 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 -- cgit v1.2.3