blob: 5ccdf3e65da29ea1bf5a7470ed5053deb2d4fa84 (
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
26
27
28
29
|
# $NetBSD: Makefile,v 1.12 2017/04/30 01:21:31 ryoon Exp $
PKGNAME= ${DISTNAME:S/sqlrelay/sqlrelay-odbc/}
PKGREVISION= 1
COMMENT= ODBC support for SQL Relay
.include "../../databases/sqlrelay/Makefile.common"
LICENSE= gnu-lgpl-v2
CONFIGURE_ARGS+= --with-odbc-prefix=${BUILDLINK_PREFIX.unixodbc}
CONFIGURE_ARGS+= --disable-postgresql
CONFIGURE_ARGS+= --disable-sqlite
CONFIGURE_ARGS+= --disable-freetds
CONFIGURE_ARGS+= --disable-mysql
BUILD_DIRS= src/connections
INSTALLATION_DIRS+= libexec/sqlrelay
do-install:
${LIBTOOL} --mode=install ${INSTALL_LIB} \
${WRKSRC}/${BUILD_DIRS}/sqlrconnection_odbc.la \
${DESTDIR}${PREFIX}/libexec/sqlrelay
.include "../../databases/sqlrelay/buildlink3.mk"
.include "../../databases/unixodbc/buildlink3.mk"
.include "../../devel/libltdl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|