aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Lewman <andrew@torproject.org>2007-12-14 05:30:18 +0000
committerAndrew Lewman <andrew@torproject.org>2007-12-14 05:30:18 +0000
commitf50cd72848576628ffa3bedc5a5d97ccc8ebc0b2 (patch)
treef3eb3556f7e2c2c5191157979f9877ba50b1f777
parent0a75fd2faaa65e59303c47f05e29330295e979af (diff)
downloadtor-f50cd72848576628ffa3bedc5a5d97ccc8ebc0b2.tar
tor-f50cd72848576628ffa3bedc5a5d97ccc8ebc0b2.tar.gz
some documentation from pnx for building universal binary privoxy
svn:r12807
-rw-r--r--doc/privoxy-osx-universal-binary.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/privoxy-osx-universal-binary.txt b/doc/privoxy-osx-universal-binary.txt
new file mode 100644
index 000000000..02a726b83
--- /dev/null
+++ b/doc/privoxy-osx-universal-binary.txt
@@ -0,0 +1,18 @@
+#!/bin/sh
+# working patch and options from pnx in #tor
+
+patch -N << "EOF"
+--- GNUmakefile.in.orig 2007-11-15 02:39:01.000000000 +0100
++++ GNUmakefile.in 2007-11-15 02:39:12.000000000 +0100
+@@ -246,7 +246,7 @@
+ CFLAGS = @CFLAGS@ @CPPFLAGS@ $(OTHER_CFLAGS) $(SPECIAL_CFLAGS) -Wall \
+ @STATIC_PCRE_ONLY@ -Ipcre
+
+-LDFLAGS = $(DEBUG_CFLAGS) $(SPECIAL_CFLAGS)
++LDFLAGS = @LDFLAGS@ $(DEBUG_CFLAGS) $(SPECIAL_CFLAGS)
+
+
+ #############################################################################
+EOF
+
+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