summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTreeve Jelbert2012-01-27 17:25:05 +0100
committerTreeve Jelbert2012-01-27 17:47:39 +0100
commit740e7879e69db4b1f5e3bb3532ea1f4730a9fb3e (patch)
tree3f138a23c396110ddd041c0281e555067ce5e5e0
parent3e87b29b409a39484f5e6ccf26225a3c76f2c1f8 (diff)
pcre - extra depends
enable JIT support
-rwxr-xr-xlibs/pcre/BUILD1
-rwxr-xr-xlibs/pcre/CONFIGURE1
-rwxr-xr-xlibs/pcre/DEPENDS13
-rw-r--r--libs/pcre/HISTORY5
4 files changed, 20 insertions, 0 deletions
diff --git a/libs/pcre/BUILD b/libs/pcre/BUILD
index 8789da5405..8ce5b4bfe6 100755
--- a/libs/pcre/BUILD
+++ b/libs/pcre/BUILD
@@ -1,3 +1,4 @@
+OPTS+=" --disable-static $JIT" &&
if [[ $BUILDUTF8 == y ]]; then
OPTS="$OPTS --enable-utf8"
if [[ $UTFPROPERTIES == y ]]; then
diff --git a/libs/pcre/CONFIGURE b/libs/pcre/CONFIGURE
index 1ef609c095..d6ed96af32 100755
--- a/libs/pcre/CONFIGURE
+++ b/libs/pcre/CONFIGURE
@@ -3,3 +3,4 @@ config_query BUILDUTF8 "Enable UTF-8 support?" y
if [[ $BUILDUTF8 == y ]]; then
config_query UTFPROPERTIES "Enable UTF-8 properties?" n
fi
+config_query_option JIT "Enable JustInTime support" y "--enable-jit" ""
diff --git a/libs/pcre/DEPENDS b/libs/pcre/DEPENDS
index de7aa73917..88e0049d5f 100755
--- a/libs/pcre/DEPENDS
+++ b/libs/pcre/DEPENDS
@@ -1,5 +1,18 @@
depends gnupg &&
depends smgl-fhs &&
+optional_depends zlib \
+ '--enable-pcregrep-libz' \
+ '' \
+ 'handle .gz files in pcregrep' &&
+
+optional_depends bzip2 \
+ '--enable-pcregrep-libbz2' \
+ '' 'handle .bz2 files in pcregrep' &&
+
+optional_depends readline \
+ '--enable-pcretest-libreadline' \
+ '' \
+ 'use system readline' &&
optional_depends -sub CXX gcc \
"--enable-cpp" \
diff --git a/libs/pcre/HISTORY b/libs/pcre/HISTORY
index f21e49dbbe..b9a1a51978 100644
--- a/libs/pcre/HISTORY
+++ b/libs/pcre/HISTORY
@@ -1,3 +1,8 @@
+2012-01-27 Treeve Jelbert <treeve@sourcemage.org>
+ * DEPENDS: add zlib, bzip2, readline
+ * BUILD: disable-static
+ * CONFIGURE: allow JIT support
+
2011-12-13 Treeve Jelbert <treeve@sourcemage.org>
* DETAILS: 8.21