summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pcr/rspamd/PKGBUILD6
1 files changed, 6 insertions, 0 deletions
diff --git a/pcr/rspamd/PKGBUILD b/pcr/rspamd/PKGBUILD
index ef2587bac..695c6e74b 100644
--- a/pcr/rspamd/PKGBUILD
+++ b/pcr/rspamd/PKGBUILD
@@ -57,6 +57,12 @@ source=("https://www.rspamd.com/downloads/${pkgname}-${pkgver}.tar.xz")
sha256sums=('485438d8c38ada1a6e95c9ea1298d2c899d4ec618f1dd5f539663522c506eb2b')
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ sed -re 's,<jemalloc.h>,<jemalloc/jemalloc.h>,' -i config.h.in
+}
+
build() {
cd "${srcdir}/${pkgname}-${pkgver}"