diff options
Diffstat (limited to 'homebrew/erlangat19/.make.sh-auto')
-rw-r--r-- | homebrew/erlangat19/.make.sh-auto | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/homebrew/erlangat19/.make.sh-auto b/homebrew/erlangat19/.make.sh-auto new file mode 100644 index 000000000..5c82d2fee --- /dev/null +++ b/homebrew/erlangat19/.make.sh-auto @@ -0,0 +1,10 @@ +pkg:setup +%w[LIBS FLAGS AFLAGS ZFLAGS].each { |k| ENV.delete("ERL_#{k}") } +./otp_build autoconf if File.exist? "otp_build" +args = %W[--disable-debug --disable-silent-rules --prefix=#{prefix} --enable-kernel-poll --enable-threads --enable-sctp --enable-dynamic-ssl-lib --with-ssl=#{Formula["openssl"].opt_prefix} --enable-shared-zlib --enable-smp-support --enable-wx --enable-hipe --without-javac --enable-darwin-64bit ] +args << "--with-dynamic-trace=dtrace" if MacOS::CLT.installed? +pkg:configure *args +make +make DESTDIR=${PKG_DEST} install +(lib/"erlang").install resource("man").files("man") +doc.install resource("html") |