Index: GNUmakefile.in
--- GNUmakefile.in.orig	2021-02-25 18:54:13.000000000 +0100
+++ GNUmakefile.in	2021-02-26 21:35:57.223065000 +0100
@@ -62,9 +62,9 @@
 MAN_DEST     = $(MAN_DIR)/man8
 MAN_PAGE     = privoxy.8
 SHARE_DEST   = @datadir@
-DOC_DEST     = $(SHARE_DEST)/doc/privoxy
+DOC_DEST     = $(SHARE_DEST)/doc
 VAR_DEST     = @localstatedir@
-LOGS_DEST    = $(VAR_DEST)/log/privoxy
+LOGS_DEST    = $(VAR_DEST)/log
 PIDS_DEST    = $(VAR_DEST)/run
 
 # if $prefix = /usr/local then the default CONFDEST change from
Index: configure.in
--- configure.in.orig	2021-02-26 21:35:57.223353000 +0100
+++ configure.in	2021-02-26 21:40:13.763495000 +0100
@@ -1085,7 +1085,7 @@
 if test $have_pcre = "yes"; then
   echo "using libpcre"
   STATIC_PCRE_ONLY=#
-  LIBS="$LIBS -lpcre -lpcreposix"
+  LIBS="$LIBS -lpcreposix -lpcre"
   if test "$use_static_pcre" = "yes"; then
     pcre_dyn=no
     AC_DEFINE(PCRE_STATIC,1,[Define to statically link to pcre library on Windows.])
