aboutsummaryrefslogtreecommitdiff
path: root/mail/rspamd-devel
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2020-09-23 16:50:04 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2020-09-23 16:50:04 +0000
commit22fa17e9cda3e247fd60a87a8d9c87a8e8690496 (patch)
tree0f57ba5a282e87873db7547a91133eccfb46445c /mail/rspamd-devel
parent26e64e1a1169013bc7af2d40a90d152d9e4a9ef5 (diff)
downloadports-22fa17e9cda3e247fd60a87a8d9c87a8e8690496.tar.gz
ports-22fa17e9cda3e247fd60a87a8d9c87a8e8690496.zip
Notes
Diffstat (limited to 'mail/rspamd-devel')
-rw-r--r--mail/rspamd-devel/Makefile15
1 files changed, 12 insertions, 3 deletions
diff --git a/mail/rspamd-devel/Makefile b/mail/rspamd-devel/Makefile
index cff1964fcb3f..cd3a3fed9d36 100644
--- a/mail/rspamd-devel/Makefile
+++ b/mail/rspamd-devel/Makefile
@@ -2,7 +2,7 @@
PORTNAME= rspamd
PORTVERSION= 2.6.a1.20200402
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= mail
PKGNAMESUFFIX= -devel
@@ -18,8 +18,7 @@ LIB_DEPENDS= libpcre.so:devel/pcre \
BUILD_DEPENDS= ragel:devel/ragel
RUN_DEPENDS= ca_root_nss>=3.*:security/ca_root_nss
-USES= cmake compiler:c11 gnome perl5 pkgconfig \
- sqlite ssl
+USES= cmake gnome perl5 pkgconfig sqlite ssl
USE_LDCONFIG= yes
USE_PERL5= build run
USE_GNOME= glib20
@@ -35,6 +34,7 @@ OPTIONS_DEFAULT_amd64= LUAJIT
OPTIONS_DEFAULT_armv7= LUAJIT
OPTIONS_DEFAULT_i386= LUAJIT
OPTIONS_DEFAULT_powerpc= LUAJIT
+OPTIONS_DEFAULT_powerpc64= LUAJIT
OPTIONS_SUB= yes
BLAS_DESC= Use OpenBLAS to accelerate KANN
@@ -81,6 +81,15 @@ CGP_RUN_DEPENDS+= \
p5-EV>=0:devel/p5-EV \
p5-JSON-XS>=0:converters/p5-JSON-XS
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc64
+LUAJIT_LIB_DEPENDS= libluajit-5.1.so:lang/luajit-openresty
+USES+= compiler:gcc-c++11-lib
+.else
+USES+= compiler:c11
+.endif
+
post-install:
@${MKDIR} \
${STAGEDIR}/var/log/rspamd \