Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Aug 2011 06:34:34 GMT
From:      Rob Farmer <rfarmer@predatorlabs.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/159406: [maintainer] [patch] math/scilab Fix build on 8-stable
Message-ID:  <201108030634.p736YYIQ045276@red.freebsd.org>
Resent-Message-ID: <201108030640.p736e90v072854@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201108030634.p736YYIQ045276>