[92992] trunk/dports/devel/cloog
mcalhoun at macports.org
mcalhoun at macports.org
Sun May 13 09:29:08 PDT 2012
Revision: 92992
https://trac.macports.org/changeset/92992
Author: mcalhoun at macports.org
Date: 2012-05-13 09:29:07 -0700 (Sun, 13 May 2012)
Log Message:
-----------
cloog: Update version 0.16.3 -> 0.17.0
Use the separately built isl (r92991)
Prevent LDFLAGS from being included in the pkgconfig file
Revision Links:
--------------
https://trac.macports.org/changeset/92991
Modified Paths:
--------------
trunk/dports/devel/cloog/Portfile
Added Paths:
-----------
trunk/dports/devel/cloog/files/
trunk/dports/devel/cloog/files/patch-configure.diff
Modified: trunk/dports/devel/cloog/Portfile
===================================================================
--- trunk/dports/devel/cloog/Portfile 2012-05-13 16:22:32 UTC (rev 92991)
+++ trunk/dports/devel/cloog/Portfile 2012-05-13 16:29:07 UTC (rev 92992)
@@ -4,8 +4,8 @@
PortGroup muniversal 1.0
name cloog
-version 0.16.3
-revision 1
+version 0.17.0
+revision 0
categories devel math
maintainers openmaintainer adfernandes
@@ -28,26 +28,18 @@
homepage http://repo.or.cz/w/cloog.git
master_sites http://www.bastoul.net/cloog/pages/download/count.php3?url=./
-checksums md5 a0f8a241cd1c4f103f8d2c91642b3498 \
- sha1 f6765fa231f38c2f747e2b05e4eaaa470fd5851a \
- rmd160 e2cd5f93b2221c037027b20ce23636952902235c
+checksums rmd160 d7deb6971c445547d96906dc417fd5d7fdf512bf \
+ sha256 f265f5069830c03d2919a7673c0963495437d6d79a8cbd3474cde2d4e3291e04
-depends_lib port:gmp
+depends_lib port:gmp port:isl
-post-build {
- # Remove extraneous '-arch' flag from the 'pkgconfig' files (#34395)
- foreach file [glob -nocomplain -directory ${worksrcpath} *.pc */*.pc] {
- reinplace -E "s at -arch +\[A-Za-z0-9_\]+ *@@g" "${file}"
- }
- if {[variant_isset universal]} {
- foreach arch ${universal_archs_to_use} {
- foreach file [glob -nocomplain -directory ${worksrcpath}-${arch} *.pc */*.pc ] {
- reinplace -E "s at -arch +\[A-Za-z0-9_\]+ *@@g" "${file}"
- }
- }
- }
-}
+# prevent -L/lib from being added to LDFLAGS
+# see http://groups.google.com/group/isl-development/t/37ad876557e50f2c
+patchfiles patch-configure.diff
+configure.args-append \
+ --with-isl=system
+
livecheck.type regex
livecheck.url ${master_sites}
livecheck.regex ${name}-(\[0-9.\]+)\\.tar.gz
Added: trunk/dports/devel/cloog/files/patch-configure.diff
===================================================================
--- trunk/dports/devel/cloog/files/patch-configure.diff (rev 0)
+++ trunk/dports/devel/cloog/files/patch-configure.diff 2012-05-13 16:29:07 UTC (rev 92992)
@@ -0,0 +1,22 @@
+--- configure.orig 2011-12-11 15:01:12.000000000 -0700
++++ configure 2012-05-13 09:09:02.000000000 -0700
+@@ -12063,7 +12063,7 @@
+ CPPFLAGS="-I$with_gmp_prefix/include $CPPFLAGS"
+ fi
+
+- if test "$with_gmp_exec_prefix" != "yes" ; then
++ if test "yes$with_gmp_exec_prefix" != "yes" ; then
+ LDFLAGS="-L$with_gmp_exec_prefix/lib $LDFLAGS"
+ fi
+ ;;
+@@ -14780,8 +14780,8 @@
+ Description: @PACKAGE_DESCRIPTION@
+ Version: @PACKAGE_VERSION@
+ Requires: @PACKAGE_REQUIRES@
+-Libs: -L\${libdir} @LDFLAGS@ @LIBS@
+-Cflags: -I\${includedir} @CPPFLAGS@
++Libs: -L\${libdir} @LIBS@
++Cflags: -I\${includedir}
+ AXEOF
+ fi # DONE generate $pkgconfig_generate.in
+ { $as_echo "$as_me:${as_lineno-$LINENO}: creating $pkgconfig_generate" >&5
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120513/1c7a9eb5/attachment.html>
More information about the macports-changes
mailing list