summaryrefslogtreecommitdiff
path: root/homebrew/nspr/.make.sh-auto
blob: 97e2c5fe52637c74aaabcb48afc4cb64d28f677d (plain)
1
2
3
4
5
6
7
8
9
10
11
pkg:setup
ENV.deparallelize
cd "nspr" 
inreplace "pr/src/Makefile.in", "-framework CoreServices -framework CoreFoundation", ""
args = %W[--disable-debug --prefix=#{prefix} --enable-strip --with-pthreads --enable-ipv6 --enable-macos-target=#{MacOS.version} --enable-64bit ]
pkg:configure *args
inreplace "config/autoconf.mk", "-install_name @executable_path/$@ ", "-install_name #{lib}/$@ "
make
make DESTDIR=${PKG_DEST} install
(bin/"compile-et.pl").unlink
(bin/"prerr.properties").unlink