[92922] trunk/dports/devel/cloog/Portfile
adfernandes at macports.org
adfernandes at macports.org
Thu May 10 14:15:42 PDT 2012
Revision: 92922
https://trac.macports.org/changeset/92922
Author: adfernandes at macports.org
Date: 2012-05-10 14:15:42 -0700 (Thu, 10 May 2012)
Log Message:
-----------
devel/cloog: fixed universal building (#34395)
Modified Paths:
--------------
trunk/dports/devel/cloog/Portfile
Modified: trunk/dports/devel/cloog/Portfile
===================================================================
--- trunk/dports/devel/cloog/Portfile 2012-05-10 21:02:01 UTC (rev 92921)
+++ trunk/dports/devel/cloog/Portfile 2012-05-10 21:15:42 UTC (rev 92922)
@@ -12,7 +12,7 @@
maintainers openmaintainer adfernandes
platforms darwin
-description The CLooG Code Generator in the Polyhedral Model's Home
+description CLooG, the Chunky Loop Generator, generates code for scanning Z-polyhedra
long_description CLooG is a free software and library to generate code for scanning Z-polyhedra. \
That is, it finds a code (e.g. in C, FORTRAN...) that reaches each \
@@ -25,6 +25,7 @@
has full control on generated code quality, CLooG is designed to avoid \
control overhead and to produce a very effective code.
+license LGPL-2+
homepage http://repo.or.cz/w/cloog.git
master_sites http://www.bastoul.net/cloog/pages/download/count.php3?url=./
@@ -34,6 +35,19 @@
depends_lib port:gmp
+post-build {
+ # Remove extraneous '-arch' flag from the 'pkgconfig' files (#34395)
+ set files [glob -nocomplain -directory ${worksrcpath} *.pc */*.pc ]
+ if {[variant_isset universal]} {
+ foreach arch ${universal_archs_to_use} {
+ lappend files [glob -nocomplain -directory ${worksrcpath}-${arch} *.pc */*.pc ]
+ }
+ }
+ foreach file ${files} {
+ reinplace -E "s at -arch +\[A-Za-z0-9_\]+ *@@g" "${file}"
+ }
+}
+
livecheck.type regex
livecheck.url ${master_sites}
livecheck.regex ${name}-(\[0-9.\]+)\\.tar.gz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120510/0c2b27a8/attachment.html>
More information about the macports-changes
mailing list