diff options
author | adam <adam> | 2005-03-07 14:59:06 +0000 |
---|---|---|
committer | adam <adam> | 2005-03-07 14:59:06 +0000 |
commit | 509295773ac700376d58c3f7d77ef843184c52ea (patch) | |
tree | c10bdf2f04ab59af8a46f868815bc34e9aefecb6 /databases/sqlite3/options.mk | |
parent | a8147119a747b68e99c0f530edf903147d11561d (diff) | |
download | pkgsrc-509295773ac700376d58c3f7d77ef843184c52ea.tar.gz |
Added an option to build the package with tcl support
Diffstat (limited to 'databases/sqlite3/options.mk')
-rw-r--r-- | databases/sqlite3/options.mk | 16 |
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 |