privoxy-osx-universal-binary.txt 893 B

123456789101112131415161718
  1. #!/bin/sh
  2. # working patch and options from pnx in #tor
  3. patch -N << "EOF"
  4. --- GNUmakefile.in.orig 2007-11-15 02:39:01.000000000 +0100
  5. +++ GNUmakefile.in 2007-11-15 02:39:12.000000000 +0100
  6. @@ -246,7 +246,7 @@
  7. CFLAGS = @CFLAGS@ @CPPFLAGS@ $(OTHER_CFLAGS) $(SPECIAL_CFLAGS) -Wall \
  8. @STATIC_PCRE_ONLY@ -Ipcre
  9. -LDFLAGS = $(DEBUG_CFLAGS) $(SPECIAL_CFLAGS)
  10. +LDFLAGS = @LDFLAGS@ $(DEBUG_CFLAGS) $(SPECIAL_CFLAGS)
  11. #############################################################################
  12. EOF
  13. 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