]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - lfs/pcre
glib: Update to 2.68.3
[people/pmueller/ipfire-2.x.git] / lfs / pcre
index 66b34cc30c93ad64c13e023df40f3feccbe981b1..e73f3fa08ae7128f142edd0c6cad51211c86109d 100644 (file)
--- a/lfs/pcre
+++ b/lfs/pcre
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2018  IPFire Team  <info@ipfire.org>                     #
+# Copyright (C) 2007-2019  IPFire Team  <info@ipfire.org>                     #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
@@ -24,7 +24,7 @@
 
 include Config
 
-VER        = 8.42
+VER        = 8.44
 
 THISAPP    = pcre-$(VER)
 DL_FILE    = $(THISAPP).tar.bz2
@@ -32,6 +32,24 @@ DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 
+CONFIGURE_ARGS = \
+       --prefix=/usr \
+       --disable-static \
+       --enable-utf8 \
+       --enable-pcre16 \
+       --enable-pcre32 \
+       --enable-pcregrep-libz \
+       --enable-pcregrep-libbz2 \
+       --enable-pcretest-libreadline \
+       --enable-unicode-properties \
+       --docdir=/usr/share/doc/pcre-$(THISAPP)
+
+ifeq "$(BUILD_ARCH)" "riscv64"
+       CONFIGURE_ARGS += --disable-jit
+else
+       CONFIGURE_ARGS += --enable-jit
+endif
+
 ###############################################################################
 # Top-level Rules
 ###############################################################################
@@ -40,7 +58,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = 085b6aa253e0f91cae70b3cdbe8c1ac2
+$(DL_FILE)_MD5 = cf7326204cc46c755b5b2608033d9d24
 
 install : $(TARGET)
 
@@ -70,18 +88,7 @@ $(subst %,%_MD5,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
-       cd $(DIR_APP) && ./configure \
-               --prefix=/usr \
-               --disable-static \
-               --enable-utf8 \
-               --disable-jit \
-               --enable-pcre16 \
-               --enable-pcre32 \
-               --enable-pcregrep-libz \
-               --enable-pcregrep-libbz2 \
-               --enable-pcretest-libreadline \
-               --enable-unicode-properties \
-               --docdir=/usr/share/doc/pcre-$(THISAPP)
+       cd $(DIR_APP) && ./configure $(CONFIGURE_ARGS)
        cd $(DIR_APP) && make $(MAKETUNING)
        cd $(DIR_APP) && make install
        @rm -rf $(DIR_APP)