46cc25669d
global provides a bundled sqlite3 that it is built and used unconditionally. Adjust configure and libglibc/Makefile.in to avoid building it and instead use databases/sqlite3. Bump PKGREVISION
19 lines
530 B
Makefile
19 lines
530 B
Makefile
# $NetBSD: options.mk,v 1.2 2018/06/18 09:43:12 leot Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.global
|
|
PKG_OPTIONS_REQUIRED_GROUPS= db
|
|
PKG_OPTIONS_GROUP.db= bdb sqlite3
|
|
PKG_SUGGESTED_OPTIONS= sqlite3
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
.if !empty(PKG_OPTIONS:Mbdb)
|
|
.include "../../mk/bdb.buildlink3.mk"
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Msqlite3)
|
|
CONFIGURE_ARGS+= --with-sqlite3
|
|
LDFLAGS+= -L${BUILDLINK_PREFIX.sqlite3}/lib \
|
|
${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.sqlite3}/lib
|
|
.include "../../databases/sqlite3/buildlink3.mk"
|
|
.endif
|