pkgsrc/www/privoxy/patches/patch-ab
kim 6da870f3d7 privoxy-3.0.2 (stable)
Privoxy is a web proxy with advanced filtering capabilities for protecting
privacy, filtering web page content, managing cookies, controlling access,
and removing ads, banners, pop-ups and other obnoxious Internet junk.
Privoxy has a very flexible configuration and can be customized to suit
individual needs and tastes. Privoxy has application for both stand-alone
systems and multi-user networks.
2003-06-16 03:02:04 +00:00

38 lines
1.4 KiB
Text

$NetBSD: patch-ab,v 1.1.1.1 2003/06/16 03:02:04 kim Exp $
--- GNUmakefile.in.orig 2002-11-04 02:04:03.000000000 -0500
+++ GNUmakefile.in 2003-06-15 19:55:34.000000000 -0400
@@ -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)
#############################################################################
@@ -1104,15 +1104,15 @@
-$(INSTALL) $(INSTALL_T) privoxy.1 $(MAN_DEST)/privoxy.1
@# Change the config file default directories according to the configured ones
- @$(ECHO) Rewriting config for this installation
- @if [ -f config.base ] ; then \
- $(CAT) config >config~ ;\
- $(MV) config.base config ;\
- fi
- $(SED) 's+confdir .+confdir $(CONF_DEST)+' config | \
- $(SED) 's+logdir .+logdir $(LOG_DEST)+' >config.updated
- $(MV) config config.base
- $(MV) config.updated config
+ @#$(ECHO) Rewriting config for this installation
+ @#if [ -f config.base ] ; then \
+ @# $(CAT) config >config~ ;\
+ @# $(MV) config.base config ;\
+ @#fi
+ @#$(SED) 's+confdir .+confdir $(CONF_DEST)+' config | \
+ @#$(SED) 's+logdir .+logdir $(LOG_DEST)+' >config.updated
+ @#$(MV) config config.base
+ @#$(MV) config.updated config
@# Install the config support files. Test for root install, and abort
@# if there is no privoxy user, and no other user was enabled during