pkgsrc/lang/spl/options.mk
ryoon fb5c038af7 Fix build on NetBSD/i386 5.99.58.
* Some pkglint.
* Add options.mk and sqlite option (default: off).
  More options may be introduced.
2011-12-18 16:57:22 +00:00

19 lines
371 B
Makefile

# $NetBSD: options.mk,v 1.1 2011/12/18 16:57:22 ryoon Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.spl
PKG_SUPPORTED_OPTIONS= sqlite
PLIST_VARS+= sqlite
.include "../../mk/bsd.options.mk"
###
### Use mysql or sqlite backend
###
.if !empty(PKG_OPTIONS:Msqlite)
.include "../../databases/sqlite3/buildlink3.mk"
PLIST.sqlite= yes
.else
MAKE_FLAGS= ENABLE_SQLITE_SUPPORT=0
.endif