From nobody@FreeBSD.org  Wed Aug  3 06:34:35 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 4EF6B106566B
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  3 Aug 2011 06:34:35 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 3E76D8FC0A
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  3 Aug 2011 06:34:35 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p736YZxd045293
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 3 Aug 2011 06:34:35 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id p736YYIQ045276;
	Wed, 3 Aug 2011 06:34:34 GMT
	(envelope-from nobody)
Message-Id: <201108030634.p736YYIQ045276@red.freebsd.org>
Date: Wed, 3 Aug 2011 06:34:34 GMT
From: Rob Farmer <rfarmer@predatorlabs.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [maintainer] [patch] math/scilab Fix build on 8-stable
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         159406
>Category:       ports
>Synopsis:       [maintainer] [patch] math/scilab Fix build on 8-stable
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    beech
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 03 06:40:08 UTC 2011
>Closed-Date:    Thu Aug 04 07:31:32 UTC 2011
>Last-Modified:  Thu Aug 04 07:31:32 UTC 2011
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->beech 
Responsible-Changed-By: beech 
Responsible-Changed-When: Wed Aug 3 10:05:44 UTC 2011 
Responsible-Changed-Why:  
I'll take it 

http://www.freebsd.org/cgi/query-pr.cgi?pr=159406 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/159406: commit references a PR
Date: Thu,  4 Aug 2011 07:23:25 +0000 (UTC)

 beech       2011-08-04 07:23:17 UTC
 
   FreeBSD ports repository
 
   Modified files:
     math/scilab          Makefile 
   Log:
   - 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)
   
   Revision  Changes    Path
   1.80      +2 -0      ports/math/scilab/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->closed 
State-Changed-By: beech 
State-Changed-When: Thu Aug 4 07:31:07 UTC 2011 
State-Changed-Why:  
Committed, Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=159406 
>Unformatted:
