Revision
87247
Author
ryandesign@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

Added Paths

Diff

Modified: trunk/dports/databases/couchdb/Portfile (87246 => 87247)


--- 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 (0 => 87247)


--- 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