summaryrefslogtreecommitdiff
path: root/pcr/rspamd
diff options
context:
space:
mode:
authorfauno <fauno@endefensadelsl.org>2016-07-24 13:25:11 -0300
committerfauno <fauno@endefensadelsl.org>2016-07-24 13:25:11 -0300
commit8a0fbf534e716c2bdb6a56f485bc354ba3831b74 (patch)
treedd9af229b1954914ea7ea0ba5c6360a49100ee9b /pcr/rspamd
parentae26579d3fe6b0229101000eed09214c7e22587f (diff)
rspamd: jemalloc is in a subdir
Diffstat (limited to 'pcr/rspamd')
-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}"