Merge commit 'origin/maint-0.2.1'
[tor.git] / doc / privoxy-osx-universal-binary.txt
blob02a726b83d52296031f6c43498f7e4d3ddda2799
1 #!/bin/sh
2 # working patch and options from pnx in #tor
4 patch -N << "EOF"
5 --- GNUmakefile.in.orig 2007-11-15 02:39:01.000000000 +0100
6 +++ GNUmakefile.in 2007-11-15 02:39:12.000000000 +0100
7 @@ -246,7 +246,7 @@
8 CFLAGS = @CFLAGS@ @CPPFLAGS@ $(OTHER_CFLAGS) $(SPECIAL_CFLAGS) -Wall \
9 @STATIC_PCRE_ONLY@ -Ipcre
11 -LDFLAGS = $(DEBUG_CFLAGS) $(SPECIAL_CFLAGS)
12 +LDFLAGS = @LDFLAGS@ $(DEBUG_CFLAGS) $(SPECIAL_CFLAGS)
15 #############################################################################
16 EOF
18 autoheader && autoconf && CFLAGS="-O2 -mmacosx-version-min=10.4 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc" LDFLAGS="-mmacosx-version-min=10.4 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc" ./configure --prefix=/Library/Privoxy/ --disable-dynamic-pcrs --sysconfdir=/Library/Privoxy/ --mandir=/Library/Privoxy/ --disable-dependency-tracking && make