[78012] trunk/dports/net/curl
ryandesign at macports.org
ryandesign at macports.org
Tue Apr 19 06:41:58 PDT 2011
Revision: 78012
http://trac.macports.org/changeset/78012
Author: ryandesign at macports.org
Date: 2011-04-19 06:41:58 -0700 (Tue, 19 Apr 2011)
Log Message:
-----------
curl: fix bug with "curl-config --version"; see #29201
Modified Paths:
--------------
trunk/dports/net/curl/Portfile
Added Paths:
-----------
trunk/dports/net/curl/files/patch-curl-config.in.diff
Modified: trunk/dports/net/curl/Portfile
===================================================================
--- trunk/dports/net/curl/Portfile 2011-04-19 12:32:23 UTC (rev 78011)
+++ trunk/dports/net/curl/Portfile 2011-04-19 13:41:58 UTC (rev 78012)
@@ -8,6 +8,7 @@
name curl
# keep the version in sync with the curl-ca-bundle port
version 7.21.5
+revision 1
categories net www
maintainers ryandesign
license curl
@@ -31,7 +32,8 @@
checksums sha1 b9a616c86c447f3411555552338e1f618e560846 \
rmd160 d7a469e4b28ae08d0b3f123a5832a56fe4b29371
-patchfiles patch-curl.h.diff
+patchfiles patch-curl.h.diff \
+ patch-curl-config.in.diff
configure.args --enable-ipv6 \
--without-gnutls \
Added: trunk/dports/net/curl/files/patch-curl-config.in.diff
===================================================================
--- trunk/dports/net/curl/files/patch-curl-config.in.diff (rev 0)
+++ trunk/dports/net/curl/files/patch-curl-config.in.diff 2011-04-19 13:41:58 UTC (rev 78012)
@@ -0,0 +1,20 @@
+--- curl-config.in.orig 2011-03-19 10:17:12.000000000 -0500
++++ curl-config.in 2011-04-19 08:12:24.000000000 -0500
+@@ -94,7 +94,7 @@
+ ;;
+
+ --version)
+- echo libcurl @VERSION@
++ echo libcurl @CURLVERSION@
+ exit 0
+ ;;
+
+@@ -113,7 +113,7 @@
+ # silent success
+ exit 0
+ else
+- echo "requested version $checkfor is newer than existing @VERSION@"
++ echo "requested version $checkfor is newer than existing @CURLVERSION@"
+ exit 1
+ fi
+ ;;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110419/d67dd076/attachment.html>
More information about the macports-changes
mailing list