From: Ian Silvester <iansilvester@fastmail.fm>
Date: Tue, 7 Feb 2023 13:48:53 +0000 (-0500)
Subject: Remove unnecessary copying of PCRE library files - the package template picks them... 
X-Git-Url: http://www.privoxy.org/gitweb/%22https:/faq/user-manual/testing.html?a=commitdiff_plain;h=HEAD;p=OSXPackageBuilder.git

Remove unnecessary copying of PCRE library files - the package template picks them up directly from their installed location
---

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 {} \;
-