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

[pcre]
recipe = slapos.recipe.cmmi
shared = true
url = https://ftp.pcre.org/pub/pcre/pcre-8.43.tar.bz2
md5sum = 636222e79e392c3d95dcc545f24f98c4
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
