diff options
Diffstat (limited to 'homebrew/nss/.make.sh-auto')
-rw-r--r-- | homebrew/nss/.make.sh-auto | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/homebrew/nss/.make.sh-auto b/homebrew/nss/.make.sh-auto new file mode 100644 index 000000000..e49908413 --- /dev/null +++ b/homebrew/nss/.make.sh-auto @@ -0,0 +1,11 @@ +pkg:setup +ENV.deparallelize +cd "nss" +args = %W[BUILD_OPT=1 NSS_USE_SYSTEM_SQLITE=1 NSPR_INCLUDE_DIR=#{Formula["nspr"].opt_include}/nspr NSPR_LIB_DIR=#{Formula["nspr"].opt_lib} USE_64=1 ] +inreplace "coreconf/Darwin.mk", "-install_name @executable_path", "-install_name #{lib}" +inreplace "lib/freebl/config.mk", "@executable_path", lib +make all *args +cd "../dist" +bin.mkpath +Dir.glob("Darwin*/bin/*") do |file| +cp file, bin unless file.include? ".dylib" |