[buildout]
extends =
  ../patch/buildout.cfg
parts =
  pcre

[pcre]
recipe = slapos.recipe.cmmi
shared = true
url = https://download.sourceforge.net/pcre/pcre/8.45/pcre-8.45.tar.bz2
md5sum = 4452288e6a0eefb2ab11d36010a1eebb
configure-options =
  --disable-static
  --enable-unicode-properties
  --enable-jit
patch-options = -p1
patches =
  https://sources.debian.org/data/main/p/pcre3/2:8.39-12/debian/patches/patch-from-mariadb-to-fix-stack-frame-si#c33964123a4648bbb86466b4f3476bb4
environment =
  PATH=${patch:location}/bin:%(PATH)s
