Remove unnecessary copying of PCRE library files - the package template picks them... master
authorIan Silvester <iansilvester@fastmail.fm>
Tue, 7 Feb 2023 13:48:53 +0000 (08:48 -0500)
committerIan Silvester <iansilvester@fastmail.fm>
Tue, 7 Feb 2023 13:48:53 +0000 (08:48 -0500)
constructPkgContent.sh

index 30d93fb..904803f 100755 (executable)
@@ -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 {} \;
-