summaryrefslogtreecommitdiff
path: root/databases/ruby-odbc/options.mk
blob: da6e6d2948fd09e9c811caca56a7460bc1bb7efb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# $NetBSD: options.mk,v 1.1.1.1 2008/04/04 15:15:50 jlam Exp $

PKG_OPTIONS_VAR=		PKG_OPTIONS.ruby-odbc
PKG_OPTIONS_REQUIRED_GROUPS=	odbc
PKG_OPTIONS_GROUP.odbc=		iodbc unixodbc
PKG_SUGGESTED_OPTIONS=		iodbc

.include "../../mk/bsd.options.mk"

###
### iODBC
###
.if !empty(PKG_OPTIONS:Miodbc)
.  include "../../databases/iodbc/buildlink3.mk"
CONFIGURE_ARGS+=	--with-odbc-dir=${BUILDLINK_PREFIX.iodbc}
.endif

###
### unixODBC
###
.if !empty(PKG_OPTIONS:Munixodbc)
.  include "../../databases/unixodbc/buildlink3.mk"
CONFIGURE_ARGS+=	--with-odbc-dir=${BUILDLINK_PREFIX.unixodbc}
.endif