[87961] trunk/dports/graphics/asymptote

raphael at macports.org raphael at macports.org
Tue Dec 13 23:36:53 PST 2011


Revision: 87961
          http://trac.macports.org/changeset/87961
Author:   raphael at macports.org
Date:     2011-12-13 23:36:51 -0800 (Tue, 13 Dec 2011)
Log Message:
-----------
asymptote: update to version 2.15 with maintainer's approval per e-mail; closes #32515

Modified Paths:
--------------
    trunk/dports/graphics/asymptote/Portfile

Added Paths:
-----------
    trunk/dports/graphics/asymptote/files/
    trunk/dports/graphics/asymptote/files/patch-configure.ac.diff

Modified: trunk/dports/graphics/asymptote/Portfile
===================================================================
--- trunk/dports/graphics/asymptote/Portfile	2011-12-14 06:22:50 UTC (rev 87960)
+++ trunk/dports/graphics/asymptote/Portfile	2011-12-14 07:36:51 UTC (rev 87961)
@@ -4,7 +4,7 @@
 PortSystem	1.0
 
 name		asymptote
-version		2.13
+version		2.15
 categories	graphics
 maintainers	gmail.com:loshea
 description	a vector graphics language
@@ -20,8 +20,8 @@
                 --mandir=${prefix}/share/man
 master_sites	sourceforge
 extract.suffix  .src.tgz
-checksums       rmd160  c38a9224da74bb97a7b63e5ac56ba326b49625d9 \
-                sha256  a0ac4815aaa367a8bc5cb3fb462267959f73e982d07fd96392c019c9fdfb7a13
+checksums       rmd160  1916f4160034d4d76280bfed8ebe0bb898fc80ce \
+                sha256  89034b7f072fe0476bc00a9c4c52189f67cdc1cb9c07bab1fd88bc50b2e0c887
 depends_build   port:texinfo
 depends_lib	port:readline \
                 port:texlive \
@@ -32,17 +32,10 @@
                 port:ncurses \
                 port:boehmgc
 
-# asy binary fails to compile examples if it is compiled with llvm-gcc-4.2
-# clang fails to compile asymptote
-if {${configure.compiler} == "clang" ||
-    ${configure.compiler} == "llvm-gcc-4.2"} {
-    configure.compiler gcc-4.2
-    if {![file executable ${configure.cc}]} {
-        depends_build-append port:apple-gcc42
-        configure.compiler apple-gcc-4.2
-        # base (as of 2.0.3) doesn't set cxx for apple-gcc-4.2
-        configure.cxx ${prefix}/bin/g++-apple-4.2
-    }
+# clang does not support the '--no-var-tracking' option
+if {${configure.compiler} == "clang"} {
+    patchfiles              patch-configure.ac.diff
+    use_autoconf            yes
 }
 
 post-destroot {

Added: trunk/dports/graphics/asymptote/files/patch-configure.ac.diff
===================================================================
--- trunk/dports/graphics/asymptote/files/patch-configure.ac.diff	                        (rev 0)
+++ trunk/dports/graphics/asymptote/files/patch-configure.ac.diff	2011-12-14 07:36:51 UTC (rev 87961)
@@ -0,0 +1,11 @@
+--- configure.ac.orig	2011-12-09 15:57:04.000000000 +0100
++++ configure.ac	2011-12-09 15:58:02.000000000 +0100
+@@ -106,8 +106,6 @@
+    ac_gcc_version=`echo __GNUC__ | $CC -E - | grep -v ^\#`
+    if test "$ac_gcc_version" -lt 4; then
+        CFLAGS=$CFLAGS" -finline-limit=400"
+-   else
+-       CFLAGS=$CFLAGS" --no-var-tracking"
+    fi
+ fi
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111213/f7d7d617/attachment.html>


More information about the macports-changes mailing list