042cd1eb4b
* Bug fixes
27 lines
677 B
Makefile
27 lines
677 B
Makefile
# $NetBSD: options.mk,v 1.2 2012/07/29 10:11:18 adam Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.c-icap
|
|
PKG_SUPPORTED_OPTIONS= bdb clamav
|
|
PKG_SUGGESTED_OPTIONS= bdb clamav
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
PLIST_VARS+= bdb clamav
|
|
|
|
.if !empty(PKG_OPTIONS:Mbdb)
|
|
PLIST.bdb= yes
|
|
BDB_ACCEPTED= db5 db4
|
|
CONFIGURE_ARGS+= --with-bdb=${BDBBASE}
|
|
. include "../../mk/bdb.buildlink3.mk"
|
|
.else
|
|
CONFIGURE_ARGS+= --without-bdb
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mclamav)
|
|
PLIST.clamav= yes
|
|
CONFIGURE_ARGS+= --with-clamav
|
|
CONF_FILES+= ${EGDIR}/virus_scan.conf.default ${PKG_SYSCONFDIR}/virus_scan.conf
|
|
. include "../../security/clamav/buildlink3.mk"
|
|
.else
|
|
CONFIGURE_ARGS+= --without-clamav
|
|
.endif
|