[81013] trunk/dports/science/grads2

takeshi at macports.org takeshi at macports.org
Fri Jul 22 20:27:20 PDT 2011


Revision: 81013
          http://trac.macports.org/changeset/81013
Author:   takeshi at macports.org
Date:     2011-07-22 20:27:18 -0700 (Fri, 22 Jul 2011)
Log Message:
-----------
grads2: fixed grib2 support and build for Lion

Modified Paths:
--------------
    trunk/dports/science/grads2/Portfile
    trunk/dports/science/grads2/files/patch-configure.diff

Modified: trunk/dports/science/grads2/Portfile
===================================================================
--- trunk/dports/science/grads2/Portfile	2011-07-23 02:30:05 UTC (rev 81012)
+++ trunk/dports/science/grads2/Portfile	2011-07-23 03:27:18 UTC (rev 81013)
@@ -5,7 +5,7 @@
 
 name                grads2
 version             2.0.a9.oga.1
-revision            2
+revision            3
 platforms           darwin
 maintainers         takeshi
 categories          science
@@ -33,6 +33,9 @@
 depends_build       port:pkgconfig
 
 patchfiles          patch-configure.diff
+post-patch {
+    reinplace "s|png12|png14|g" ${worksrcpath}/configure
+}
 
 configure.env-append    SUPPLIBS="${prefix}"
 configure.args          --with-readline                             \

Modified: trunk/dports/science/grads2/files/patch-configure.diff
===================================================================
--- trunk/dports/science/grads2/files/patch-configure.diff	2011-07-23 02:30:05 UTC (rev 81012)
+++ trunk/dports/science/grads2/files/patch-configure.diff	2011-07-23 03:27:18 UTC (rev 81013)
@@ -1,5 +1,14 @@
---- configure.orig	2011-01-29 22:06:56.000000000 +0900
-+++ configure	2011-01-29 22:20:53.000000000 +0900
+--- configure.orig	2011-07-23 12:11:13.000000000 +0900
++++ configure	2011-07-23 12:11:47.000000000 +0900
+@@ -3785,7 +3785,7 @@
+ 
+   *darwin*)
+     is_darwin="yes"
+-    LDFLAGS="$LDFLAGS -lSystemStubs"
++    LDFLAGS="$LDFLAGS"
+   ;;
+ 
+   cray-*-*)
 @@ -9315,13 +9315,8 @@
        readline_inc="$readline_inc ${ga_include_prefix}/${ga_include_name}"
    done
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110722/4a81572f/attachment-0001.html>


More information about the macports-changes mailing list