diff options
author | vsevolod <vsevolod@FreeBSD.org> | 2016-02-03 22:41:09 +0800 |
---|---|---|
committer | vsevolod <vsevolod@FreeBSD.org> | 2016-02-03 22:41:09 +0800 |
commit | ceea1a85a9420a9a43a02a627e978fb22455dd22 (patch) | |
tree | 425152accc7328e54c361736f089cccb908aa753 /mail/rspamd-devel/Makefile | |
parent | cb93e1066a4376a8c0c87f929359d3f3a31f264c (diff) | |
download | freebsd-ports-gnome-ceea1a85a9420a9a43a02a627e978fb22455dd22.tar.gz freebsd-ports-gnome-ceea1a85a9420a9a43a02a627e978fb22455dd22.tar.zst freebsd-ports-gnome-ceea1a85a9420a9a43a02a627e978fb22455dd22.zip |
- Update to 1.1.3.b2
- Add optional support of hyperscan
Diffstat (limited to 'mail/rspamd-devel/Makefile')
-rw-r--r-- | mail/rspamd-devel/Makefile | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/mail/rspamd-devel/Makefile b/mail/rspamd-devel/Makefile index 5cf5206c9313..f90c74d75c2e 100644 --- a/mail/rspamd-devel/Makefile +++ b/mail/rspamd-devel/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= rspamd -PORTVERSION= 1.1.3.b1.30012016 +PORTVERSION= 1.1.3.b2.03022016 CATEGORIES= mail PKGNAMESUFFIX= -devel @@ -21,11 +21,12 @@ RSPAMD_VERSION= 1.1.3 USE_GITHUB= yes GH_ACCOUNT= vstakhov GH_PROJECT= rspamd -GH_TAGNAME= 9800118 +GH_TAGNAME= 7dec438 -OPTIONS_DEFINE= GPERF REDIRECTOR +OPTIONS_DEFINE= GPERF REDIRECTOR HYPERSCAN GPERF_DESC= google perf-tools profiling REDIRECTOR_DESC= Install HTTP redirector +HYPERSCAN_DESC= Use hyperscan optimizations (amd64 only) USE_RC_SUBR= rspamd @@ -61,6 +62,12 @@ WITH_DEBUG= yes LIB_DEPENDS+= libprofiler.so:${PORTSDIR}/devel/google-perftools .endif +.if ${PORT_OPTIONS:MHYPERSCAN} + CMAKE_ARGS+= -DENABLE_HYPERSCAN=ON + BUILD_DEPENDS+= ${LOCALBASE}/lib/libhs.a:${PORTSDIR}/devel/hyperscan + ONLY_FOR_ARCHS= amd64 +.endif + .if ${PORT_OPTIONS:MREDIRECTOR} USE_PERL5+= run CMAKE_ARGS+= -DENABLE_REDIRECTOR=ON |