14218e366655a116603225529b2d05dce436a453
[openwrt/svn-archive/archive.git] / net / privoxy / patches / 101-destdir.patch
1 Index: privoxy-3.0.6-stable/GNUmakefile.in
2 ===================================================================
3 --- privoxy-3.0.6-stable.orig/GNUmakefile.in 2007-06-21 14:51:38.000000000 +0200
4 +++ privoxy-3.0.6-stable/GNUmakefile.in 2007-06-21 14:51:38.000000000 +0200
5 @@ -55,15 +55,15 @@
6 USER = @USER@
7 GROUP = @GROUP@
8
9 -prefix = @prefix@
10 -exec_prefix = @exec_prefix@
11 -CONF_BASE = @sysconfdir@
12 -SBIN_DEST = @sbindir@
13 -MAN_DIR = @mandir@
14 +prefix = $(DESTDIR)@prefix@
15 +exec_prefix = $(DESTDIR)@exec_prefix@
16 +CONF_BASE = $(DESTDIR)@sysconfdir@
17 +SBIN_DEST = $(DESTDIR)@sbindir@
18 +MAN_DIR = $(DESTDIR)@mandir@
19 MAN_DEST = $(MAN_DIR)/man1
20 -SHARE_DEST = @datadir@
21 +SHARE_DEST = $(DESTDIR)@datadir@
22 DOC_DEST = $(SHARE_DEST)/doc/privoxy
23 -VAR_DEST = @localstatedir@
24 +VAR_DEST = $(DESTDIR)@localstatedir@
25 LOGS_DEST = $(VAR_DEST)/log/privoxy
26 PIDS_DEST = $(VAR_DEST)/run
27