818fb40ceb
Simplify options
22 lines
517 B
Makefile
22 lines
517 B
Makefile
# $NetBSD: options.mk,v 1.4 2005/11/30 19:40:29 adrian_p Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.anope
|
|
PKG_SUPPORTED_OPTIONS= mysql db-encryption
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
###
|
|
### Use MySQL for storing data
|
|
###
|
|
.if !empty(PKG_OPTIONS:Mmysql)
|
|
. include "../../mk/mysql.buildlink3.mk"
|
|
.else
|
|
CONFIGURE_ARGS+= --without-mysql
|
|
.endif
|
|
|
|
###
|
|
### Encrypt sensitive data in the database (only with mysql)
|
|
###
|
|
.if !empty(PKG_OPTIONS:Mmysql) && !empty(PKG_OPTIONS:Mdb-encryption)
|
|
CONFIGURE_ARGS+= --with-encryption
|
|
.endif
|