pkgsrc/mail/greylisting-spp/options.mk
schmonz a68bd259f5 Initial import of greylisting-spp, a qmail-spp plugin for greylisting.
It can track its state in a flat file, Berkeley DB 4, or SQLite 2 or 3.
2018-11-11 01:59:23 +00:00

21 lines
652 B
Makefile

# $NetBSD: options.mk,v 1.1 2018/11/11 01:59:23 schmonz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.greylisting-spp
PKG_OPTIONS_OPTIONAL_GROUPS= db
PKG_OPTIONS_GROUP.db= db4 sqlite sqlite3
PKG_SUGGESTED_OPTIONS= sqlite3
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mdb4)
. include "../../databases/db4/buildlink3.mk"
BUILD_MAKE_FLAGS+= DB_IMPL=bdb
.elif !empty(PKG_OPTIONS:Msqlite)
. include "../../databases/sqlite/buildlink3.mk"
BUILD_MAKE_FLAGS+= DB_IMPL=sqlite
.elif !empty(PKG_OPTIONS:Msqlite3)
. include "../../databases/sqlite3/buildlink3.mk"
BUILD_MAKE_FLAGS+= DB_IMPL=sqlite3
.else
BUILD_MAKE_FLAGS+= DB_IMPL=file
.endif