[42051] trunk/dports/math/SuiteSparse/Portfile

mcalhoun at macports.org mcalhoun at macports.org
Thu Nov 13 16:12:29 PST 2008


Revision: 42051
          http://trac.macports.org/changeset/42051
Author:   mcalhoun at macports.org
Date:     2008-11-13 16:12:29 -0800 (Thu, 13 Nov 2008)
Log Message:
-----------
SuiteSparse: ensure that configure.cc, configure.cxx, and proper cflags are always used.
Requires revision update because the cflags changed.

Modified Paths:
--------------
    trunk/dports/math/SuiteSparse/Portfile

Modified: trunk/dports/math/SuiteSparse/Portfile
===================================================================
--- trunk/dports/math/SuiteSparse/Portfile	2008-11-13 22:51:38 UTC (rev 42050)
+++ trunk/dports/math/SuiteSparse/Portfile	2008-11-14 00:12:29 UTC (rev 42051)
@@ -4,6 +4,7 @@
 
 name		SuiteSparse
 version		3.2.0
+revision	1
 categories	math science
 maintainers     stechert
 platforms	darwin
@@ -59,11 +60,20 @@
 	#    set to its default value.
 	reinplace -E \
 		"s|^CC = .*$|CC = ${configure.cc}|g" \
+		${worksrcpath}/UFconfig/UFconfig.mk \
+		${worksrcpath}/CSparse/Demo/Makefile \
+		${worksrcpath}/CSparse/Lib/Makefile
+	reinplace -E \
+		"s|^CPLUSPLUS = .*$|CPLUSPLUS = ${configure.cxx}|g" \
 		${worksrcpath}/UFconfig/UFconfig.mk
 	reinplace -E \
 		"s|^CFLAGS = .*$|CFLAGS = ${configure.cflags}|g" \
 		${worksrcpath}/UFconfig/UFconfig.mk
 	reinplace -E \
+		"s|^CFLAGS = -O|CFLAGS = -O3|g" \
+		${worksrcpath}/CSparse/Demo/Makefile \
+		${worksrcpath}/CSparse/Lib/Makefile
+	reinplace -E \
 		"s|^BLAS = .*$|BLAS = -framework Accelerate|g" \
 		${worksrcpath}/UFconfig/UFconfig.mk
 	reinplace -E \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081113/63436531/attachment.html>


More information about the macports-changes mailing list