default_pre_build &&

if in_depends $MODULE libressl; then
  # openssl API 1.1 is not supported by libressl
  # the library will build, but contains unresolved symbols
  # that break other packages
  sedit 's:defined(OPENSSL_VERSION_NUMBER):!defined(LIBRESSL_VERSION_NUMBER) \&\& \0:' buckets/ssl_buckets.c
fi
