From 07805356ffa905e8331895a668040120173d0d44 Mon Sep 17 00:00:00 2001
From: Ian Silvester <iansilvester@fastmail.fm>
Date: Tue, 7 Feb 2023 08:48:53 -0500
Subject: [PATCH] Remove unnecessary copying of PCRE library files - the
 package template picks them up directly from their installed location

---
 constructPkgContent.sh | 13 -------------
 1 file changed, 13 deletions(-)

diff --git a/constructPkgContent.sh b/constructPkgContent.sh
index 30d93fb..904803f 100755
--- a/constructPkgContent.sh
+++ b/constructPkgContent.sh
@@ -109,18 +109,6 @@ echo ""
 mkdir -vp pkg\ content/usr/local/share/man/man1
 cp -v ../${SOURCE_DIR}/privoxy.8 pkg\ content/usr/local/share/man/man1
 
-# Optionally copy the PCRE libraries
-if [ "$1" == "-pcre" ]; then
-	echo ""
-	echo ""
-	echo "Copy the external PCRE libraries"
-	echo ""
-	mkdir pkg\ content/usr/local/lib
-	cp -v /usr/local/lib/libpcre* pkg\ content/usr/local/lib
-	mkdir pkg\ content/usr/local/lib/pkgconfig
-	cp -v /usr/local/lib/pkgconfig/libpcre* pkg\ content/usr/local/lib/pkgconfig
-fi
-
 # Remove CVS administration files
 echo ""
 echo ""
@@ -128,4 +116,3 @@ echo "Remove CVS administration files"
 echo ""
 find pkg\ content -name CVS.sandboxinfo -exec rm -rf {} \;
 find pkg\ content -name CVS -exec rm -rf {} \;
-
-- 
2.49.0