blob: 3366edf77849a0848b02f265b2074fa43b7534f6 (
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
25
|
# $NetBSD: options.mk,v 1.2 2012/04/07 04:47:27 obache 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-include=${BUILDLINK_PREFIX.iodbc}/include/iodbc
CONFIGURE_ARGS+= --with-odbc-lib=${BUILDLINK_PREFIX.iodbc}/lib/iodbc
.endif
###
### unixODBC
###
.if !empty(PKG_OPTIONS:Munixodbc)
. include "../../databases/unixodbc/buildlink3.mk"
CONFIGURE_ARGS+= --with-odbc-dir=${BUILDLINK_PREFIX.unixodbc}
.endif
|