ports/159406: [maintainer] [patch] math/scilab Fix build on 8-stable
Rob Farmer
rfarmer at predatorlabs.net
Wed Aug 3 06:40:09 UTC 2011
>Number: 159406
>Category: ports
>Synopsis: [maintainer] [patch] math/scilab Fix build on 8-stable
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Wed Aug 03 06:40:08 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Rob Farmer
>Release: 9.0-CURRENT
>Organization:
>Environment:
FreeBSD turquoise.predatorlabs.net 9.0-BETA1 FreeBSD 9.0-BETA1 #0 r224615: Tue Aug 2 14:55:32 PDT 2011 rfarmer at turquoise.predatorlabs.net:/usr/obj/usr/src/sys/TURQUOISE amd64
>Description:
Fix bashism in the configure script that works on FreeBSD 9 but not 8 (or presumably 7).
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/math/scilab/Makefile,v
retrieving revision 1.79
diff -u -r1.79 Makefile
--- Makefile 28 Jul 2011 18:07:09 -0000 1.79
+++ Makefile 3 Aug 2011 06:03:49 -0000
@@ -188,6 +188,8 @@
@${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
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list