[61564] trunk/dports/devel/libssh2/Portfile

ryandesign at macports.org ryandesign at macports.org
Mon Dec 14 18:56:51 PST 2009


Revision: 61564
          http://trac.macports.org/changeset/61564
Author:   ryandesign at macports.org
Date:     2009-12-14 18:56:50 -0800 (Mon, 14 Dec 2009)
Log Message:
-----------
libssh2: update to 1.2.2 and fix universal variant (see #22747)

Modified Paths:
--------------
    trunk/dports/devel/libssh2/Portfile

Modified: trunk/dports/devel/libssh2/Portfile
===================================================================
--- trunk/dports/devel/libssh2/Portfile	2009-12-15 00:54:16 UTC (rev 61563)
+++ trunk/dports/devel/libssh2/Portfile	2009-12-15 02:56:50 UTC (rev 61564)
@@ -4,7 +4,7 @@
 PortGroup  muniversal 1.0
 
 name		  libssh2
-version		  1.2.1
+version		  1.2.2
 categories	  devel net
 platforms	  darwin
 maintainers	  pmq openmaintainer
@@ -19,8 +19,17 @@
 
 homepage	  http://www.libssh2.org/
 master_sites	  ${homepage}download/ sourceforge
-checksums	  md5 4ee0197947a3b8a4472328c346e1a0e4 \
-		  sha1 fc5e66089340cce1cf03a8cfd75b6f15ed59d30c \
-		  rmd160 12da32cc6a1f79dd3627037645b848f4bf1c7b20
+checksums	  md5     fa8d9cd425bdd62f57244fc61fb54da7 \
+		  sha1    d1a52cd4949efc7befcd61052de7fce4ae3e7415 \
+		  rmd160  21e90f957019c11d0447352c5ac19c9dc3f8dd5c
 
 depends_lib	  port:openssl port:zlib
+
+post-build {
+    if {[variant_isset universal]} {
+        foreach arch ${universal_archs_to_use} {
+            reinplace "s|[muniversal_get_arch_flag ${arch}]||" \
+                ${worksrcpath}-${arch}/libssh2.pc
+        }
+    }
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091214/37d6ab5c/attachment-0001.html>


More information about the macports-changes mailing list