libpcre: enable pcre16 and pcre32 libs

This commit is contained in:
Gerasim Troeglazov
2019-10-07 19:20:18 +10:00
parent 0c4778ac45
commit d21e16883c

View File

@@ -9,7 +9,7 @@ COPYRIGHT="1997-2018 University of Cambridge
2007-2012, Google Inc. All rights reserved."
HOMEPAGE="http://www.pcre.org/"
LICENSE="PCRE"
REVISION="1"
REVISION="2"
SOURCE_URI="https://ftp.pcre.org/pub/pcre/pcre-$portVersion.tar.bz2"
CHECKSUM_SHA256="91e762520003013834ac1adb4a938d53b22a216341c061b0cf05603b290faf6b"
SOURCE_DIR="pcre-$portVersion"
@@ -19,6 +19,8 @@ SECONDARY_ARCHITECTURES="x86_gcc2 x86"
pcreLibs="\
libpcre \
libpcre16 \
libpcre32 \
libpcrecpp \
libpcreposix \
"
@@ -33,6 +35,8 @@ done
PROVIDES="
libpcre$secondaryArchSuffix = $portVersion
lib:libpcre$secondaryArchSuffix = $libpcreVersionCompat
lib:libpcre16$secondaryArchSuffix = $libpcreVersionCompat
lib:libpcre32$secondaryArchSuffix = $libpcreVersionCompat
lib:libpcrecpp$secondaryArchSuffix = $libpcrecppVersionCompat
lib:libpcreposix$secondaryArchSuffix = $libpcreposixVersionCompat
"
@@ -51,6 +55,8 @@ PROVIDES_devel="
libpcre${secondaryArchSuffix}_devel = $portVersion
cmd:pcre_config$secondaryArchSuffix = $portVersionCompat
devel:libpcre$secondaryArchSuffix = $libpcreVersionCompat
devel:libpcre16$secondaryArchSuffix = $libpcreVersionCompat
devel:libpcre32$secondaryArchSuffix = $libpcreVersionCompat
devel:libpcrecpp$secondaryArchSuffix = $libpcrecppVersionCompat
devel:libpcreposix$secondaryArchSuffix = $libpcreposixVersionCompat
"
@@ -92,6 +98,8 @@ BUILD()
autoconf
automake --add-missing
runConfigure ./configure \
--enable-pcre16 \
--enable-pcre32 \
--enable-utf8 \
--enable-unicode-properties \
--with-pic