[147989] trunk/dports/science/libdap

takeshi at macports.org takeshi at macports.org
Fri Apr 22 23:48:19 PDT 2016


Revision: 147989
          https://trac.macports.org/changeset/147989
Author:   takeshi at macports.org
Date:     2016-04-22 23:48:19 -0700 (Fri, 22 Apr 2016)
Log Message:
-----------
libdap: update to 3.15.1. fix name clash, closing #51191

Modified Paths:
--------------
    trunk/dports/science/libdap/Portfile

Added Paths:
-----------
    trunk/dports/science/libdap/files/
    trunk/dports/science/libdap/files/patch-dds.yy.diff

Modified: trunk/dports/science/libdap/Portfile
===================================================================
--- trunk/dports/science/libdap/Portfile	2016-04-23 05:31:16 UTC (rev 147988)
+++ trunk/dports/science/libdap/Portfile	2016-04-23 06:48:19 UTC (rev 147989)
@@ -5,29 +5,27 @@
 
 name            libdap
 conflicts       dap
-version         3.13.1
+version         3.15.1
 platforms       darwin
 maintainers     takeshi
 categories      science
 description     A C++ SDK which contains an implementation of DAP 2.0
 master_sites    http://www.opendap.org/pub/source/
-checksums           md5     1ce7aa2f9c370d7d8233e8055ae2e233 \
-                    sha1    fdfd5f311c920e9efb450e8ff82f42bc58197f23 \
-                    rmd160  7f43378a94a170556ed9acc6a8bdbcc3acc6d83d
-
+checksums           rmd160  6b920e2b28a7f589d5f0ab629f14c4e8f59ed4b8 \
+                    sha256  6ee13cc69ae0b5e7552ddfd17013ebb385859bba66f42a2cfba3b3be7aa4ef0f
 homepage        http://www.opendap.org/
 long_description \
                 A C++ SDK which contains an implementation of DAP 2.0,  \
                 Client- and Server-side support classes and a prototype \
                 implementation of the AIS.
+
 depends_build   port:pkgconfig
 depends_lib     port:curl \
                 port:libiconv \
                 port:libxml2
-pre-build {
-    if {[variant_isset universal]} {
-        reinplace "s|single_module|single_module ${configure.universal_ldflags}|" ${worksrcpath}/libtool
-    } else {
-        reinplace "s|single_module|single_module ${configure.cxx_archflags}|" ${worksrcpath}/libtool
-    }
-}
+
+patchfiles      patch-dds.yy.diff
+
+livecheck.type  regex
+livecheck.url   ${homepage}download/${name}
+livecheck.regex ${name}-(\[0-9\]+.\[0-9\]+.\[0-9\]+)${extract.suffix}

Added: trunk/dports/science/libdap/files/patch-dds.yy.diff
===================================================================
--- trunk/dports/science/libdap/files/patch-dds.yy.diff	                        (rev 0)
+++ trunk/dports/science/libdap/files/patch-dds.yy.diff	2016-04-23 06:48:19 UTC (rev 147989)
@@ -0,0 +1,11 @@
+--- dds.yy.orig	2015-08-04 08:23:00.000000000 +0900
++++ dds.yy	2016-04-23 15:22:10.000000000 +0900
+@@ -262,7 +262,7 @@
+ 		| grid '{' SCAN_WORD ':'
+ 		{ 
+ 		    if (is_keyword(string($3), "array")) {
+-			    part = array;
++			    part = libdap::Part::array;
+ 			}
+ 		    else {
+ 			    ostringstream msg;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160422/bbf93b48/attachment-0001.html>


More information about the macports-changes mailing list