[87247] trunk/dports/databases/couchdb
ryandesign at macports.org
ryandesign at macports.org
Mon Nov 14 16:13:34 PST 2011
Revision: 87247
http://trac.macports.org/changeset/87247
Author: ryandesign at macports.org
Date: 2011-11-14 16:13:33 -0800 (Mon, 14 Nov 2011)
Log Message:
-----------
couchdb: remove erl ssl check from configure script, because the portfile already checks for it, and the configure check fails for some users; see #30089
Modified Paths:
--------------
trunk/dports/databases/couchdb/Portfile
Added Paths:
-----------
trunk/dports/databases/couchdb/files/
trunk/dports/databases/couchdb/files/patch-configure.diff
Modified: trunk/dports/databases/couchdb/Portfile
===================================================================
--- trunk/dports/databases/couchdb/Portfile 2011-11-14 23:43:54 UTC (rev 87246)
+++ trunk/dports/databases/couchdb/Portfile 2011-11-15 00:13:33 UTC (rev 87247)
@@ -34,6 +34,8 @@
port:curl \
port:erlang
+patchfiles patch-configure.diff
+
pre-configure {
# this check was copied from configure.ac
if {[catch {system -W ${worksrcpath} "${prefix}/bin/erl -eval 'case application:load(crypto) of ok -> ok; _ -> exit(no_crypto) end.' -noshell -s init stop"}]} {
Added: trunk/dports/databases/couchdb/files/patch-configure.diff
===================================================================
--- trunk/dports/databases/couchdb/files/patch-configure.diff (rev 0)
+++ trunk/dports/databases/couchdb/files/patch-configure.diff 2011-11-15 00:13:33 UTC (rev 87247)
@@ -0,0 +1,11 @@
+--- configure.orig 2011-10-24 04:38:37.000000000 -0500
++++ configure 2011-11-14 18:07:08.000000000 -0600
+@@ -12557,7 +12557,7 @@
+ fi
+ fi
+
+-has_crypto=`${ERL} -eval "case application:load(crypto) of ok -> ok; _ -> exit(no_crypto) end." -noshell -s init stop`
++has_crypto=""
+
+ if test -n "$has_crypto"; then
+ { { echo "$as_me:$LINENO: error: Could not find the Erlang crypto library. Has Erlang been compiled with OpenSSL support?" >&5
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111114/c582c776/attachment.html>
More information about the macports-changes
mailing list