[87248] trunk/dports/databases/couchdb/Portfile
Revision: 87248 http://trac.macports.org/changeset/87248 Author: ryandesign@macports.org Date: 2011-11-14 16:37:26 -0800 (Mon, 14 Nov 2011) Log Message: ----------- couchdb: set HOME when running erl to check for ssl support, to avoid permissions issue reading $HOME/.erlang; see #30089 Modified Paths: -------------- trunk/dports/databases/couchdb/Portfile Modified: trunk/dports/databases/couchdb/Portfile =================================================================== --- trunk/dports/databases/couchdb/Portfile 2011-11-15 00:13:33 UTC (rev 87247) +++ trunk/dports/databases/couchdb/Portfile 2011-11-15 00:37:26 UTC (rev 87248) @@ -37,8 +37,9 @@ patchfiles patch-configure.diff pre-configure { + file mkdir ${workpath}/home # 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"}]} { + if {[catch {system -W ${workpath} "HOME=${workpath}/home ${prefix}/bin/erl -eval 'case application:load(crypto) of ok -> ok; _ -> exit(no_crypto) end.' -noshell -s init stop"}]} { ui_error "${name} requires erlang to be installed with the +ssl variant" return -code error "incompatible erlang installation" }
participants (1)
-
ryandesign@macports.org