Modified: trunk/dports/databases/couchdb/Portfile (87247 => 87248)
--- 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"
}