summaryrefslogtreecommitdiff
path: root/databases/p5-DBD-ODBC/options.mk
diff options
context:
space:
mode:
authorsno <sno@pkgsrc.org>2009-05-17 13:29:15 +0000
committersno <sno@pkgsrc.org>2009-05-17 13:29:15 +0000
commit8a84c2801492618eae02ec525d2fb8c14de14d78 (patch)
tree5c82fd84e0b2645085e4cba8ec983d903840854f /databases/p5-DBD-ODBC/options.mk
parent6fd4a1f883c7c9cda67803fbb228cdd681e0e114 (diff)
downloadpkgsrc-8a84c2801492618eae02ec525d2fb8c14de14d78.tar.gz
Importing package for p5 module DBD::ODBC 1.21.
DBD::ODBC is an ODBC Driver for DBI.
Diffstat (limited to 'databases/p5-DBD-ODBC/options.mk')
-rw-r--r--databases/p5-DBD-ODBC/options.mk22
1 files changed, 22 insertions, 0 deletions
diff --git a/databases/p5-DBD-ODBC/options.mk b/databases/p5-DBD-ODBC/options.mk
new file mode 100644
index 00000000000..3afd4eeeaef
--- /dev/null
+++ b/databases/p5-DBD-ODBC/options.mk
@@ -0,0 +1,22 @@
+# $NetBSD: options.mk,v 1.1.1.1 2009/05/17 13:29:15 sno Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.p5-DBD-ODBC
+PKG_OPTIONS_OPTIONAL_GROUPS+= odbc
+PKG_OPTIONS_GROUP.odbc= iodbc unixodbc
+PKG_SUGGESTED_OPTIONS= unixodbc
+
+.include "../../mk/bsd.options.mk"
+
+###
+### Whether to build with iODBC to enable ODBC access to TDS servers.
+###
+.if !empty(PKG_OPTIONS:Miodbc)
+. include "../../databases/iodbc/buildlink3.mk"
+.endif
+
+###
+### Whether to build with unixODBC to enable ODBC access to TDS servers.
+###
+.if !empty(PKG_OPTIONS:Munixodbc)
+. include "../../databases/unixodbc/buildlink3.mk"
+.endif