summaryrefslogtreecommitdiff
path: root/databases/sqlite3/options.mk
diff options
context:
space:
mode:
Diffstat (limited to 'databases/sqlite3/options.mk')
-rw-r--r--databases/sqlite3/options.mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/databases/sqlite3/options.mk b/databases/sqlite3/options.mk
new file mode 100644
index 00000000000..4bcc23cafe2
--- /dev/null
+++ b/databases/sqlite3/options.mk
@@ -0,0 +1,16 @@
+# $NetBSD: options.mk,v 1.1 2005/03/07 14:59:06 adam Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.sqlite3
+PKG_DEFAULT_OPTIONS= # empty
+PKG_SUPPORTED_OPTIONS= tcl
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mtcl)
+CONFIGURE_ARGS+= --with-tcl=${BUILDLINK_PREFIX.tcl}/lib
+PLIST_SUBST+= TCL_COMMENT=
+. include "../../lang/tcl/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --disable-tcl
+PLIST_SUBST+= TCL_COMMENT="@comment "
+.endif