summaryrefslogtreecommitdiff
path: root/databases/myodbc/options.mk
diff options
context:
space:
mode:
Diffstat (limited to 'databases/myodbc/options.mk')
-rw-r--r--databases/myodbc/options.mk15
1 files changed, 7 insertions, 8 deletions
diff --git a/databases/myodbc/options.mk b/databases/myodbc/options.mk
index 71ff3be9c9a..5cbaa94e6d1 100644
--- a/databases/myodbc/options.mk
+++ b/databases/myodbc/options.mk
@@ -1,17 +1,16 @@
-# $NetBSD: options.mk,v 1.4 2008/04/12 22:42:59 jlam Exp $
-#
+# $NetBSD: options.mk,v 1.5 2011/08/19 07:59:58 adam Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.myodbc
PKG_OPTIONS_REQUIRED_GROUPS= db
-PKG_OPTIONS_GROUP.db= myodbc-iodbc myodbc-unixodbc
-PKG_SUPPORTED_OPTIONS= myodbc-gui
-PKG_SUGGESTED_OPTIONS= myodbc-iodbc
+PKG_OPTIONS_GROUP.db= iodbc unixodbc
+PKG_SUPPORTED_OPTIONS= gui
+PKG_SUGGESTED_OPTIONS= iodbc
.include "../../mk/bsd.options.mk"
PLIST_VARS+= gui
-.if !empty(PKG_OPTIONS:Mmyodbc-gui)
+.if !empty(PKG_OPTIONS:Mgui)
. include "../../x11/qt3-tools/buildlink3.mk"
CONFIGURE_ARGS+= --enable-gui
USE_LANGUAGES= c c++
@@ -20,13 +19,13 @@ PLIST.gui= yes
CONFIGURE_ARGS+= --disable-gui
.endif
-.if !empty(PKG_OPTIONS:Mmyodbc-iodbc)
+.if !empty(PKG_OPTIONS:Miodbc)
. include "../../databases/iodbc/buildlink3.mk"
CONFIGURE_ARGS+= --with-iODBC=${BUILDLINK_PREFIX.iodbc}
CONFIGURE_ARGS+= --with-odbc-ini=${PKG_SYSCONFDIR.iodbc}/odbc.ini
.endif
-.if !empty(PKG_OPTIONS:Mmyodbc-unixodbc)
+.if !empty(PKG_OPTIONS:Munixodbc)
. include "../../databases/unixodbc/buildlink3.mk"
CONFIGURE_ARGS+= --with-unixODBC=${BUILDLINK_PREFIX.unixodbc}
CONFIGURE_ARGS+= --with-odbc-ini=${PKG_SYSCONFDIR.unixodbc}/odbc.ini