mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
worker-hs_helper.(conf|inc) are only installed on systems with hyperscan;
fix PLISTs for other builds
This commit is contained in:
@@ -67,7 +67,7 @@ CONFIGURE_ARGS+= \
|
||||
# to line up @samples in plist
|
||||
ETC= ${SYSCONFDIR}
|
||||
FLAVOR_STRING= ${FLAVOR_EXT:S/-/,/g}
|
||||
SUBST_VARS+= ETC FLAVOR_STRING
|
||||
SUBST_VARS+= ETC FLAVOR_STRING HYPERSCAN_ONLY
|
||||
|
||||
.include <bsd.port.arch.mk>
|
||||
.if !${PROPERTIES:Mlld}
|
||||
@@ -90,6 +90,9 @@ WANTLIB+= ${MODLUA_WANTLIB}
|
||||
CONFIGURE_ARGS+= -DENABLE_HYPERSCAN=ON
|
||||
LIB_DEPENDS+= textproc/hyperscan
|
||||
WANTLIB+= hs
|
||||
HYPERSCAN_ONLY=
|
||||
.else
|
||||
HYPERSCAN_ONLY= "@comment "
|
||||
.endif
|
||||
|
||||
NO_TEST= Yes
|
||||
|
||||
@@ -226,10 +226,10 @@ share/examples/rspamd/worker-controller.inc
|
||||
@sample ${ETC}/rspamd/worker-controller.inc
|
||||
share/examples/rspamd/worker-fuzzy.inc
|
||||
@sample ${ETC}/rspamd/worker-fuzzy.inc
|
||||
share/examples/rspamd/worker-hs_helper.conf
|
||||
@sample ${ETC}/rspamd/worker-hs_helper.conf
|
||||
share/examples/rspamd/worker-hs_helper.inc
|
||||
@sample ${ETC}/rspamd/worker-hs_helper.inc
|
||||
${HYPERSCAN_ONLY}share/examples/rspamd/worker-hs_helper.conf
|
||||
${HYPERSCAN_ONLY}@sample ${ETC}/rspamd/worker-hs_helper.conf
|
||||
${HYPERSCAN_ONLY}share/examples/rspamd/worker-hs_helper.inc
|
||||
${HYPERSCAN_ONLY}@sample ${ETC}/rspamd/worker-hs_helper.inc
|
||||
share/examples/rspamd/worker-normal.inc
|
||||
@sample ${ETC}/rspamd/worker-normal.inc
|
||||
share/examples/rspamd/worker-proxy.inc
|
||||
|
||||
Reference in New Issue
Block a user