27 lines
802 B
Makefile
27 lines
802 B
Makefile
# $NetBSD: Makefile,v 1.33 2021/09/29 19:00:29 adam Exp $
|
|
|
|
PKGNAME= ${DISTNAME:S/sqlrelay/sqlrelay-freetds/}
|
|
PKGREVISION= 3
|
|
COMMENT= FreeTDS support for SQL Relay
|
|
|
|
.include "../../databases/sqlrelay/Makefile.common"
|
|
|
|
CONFIGURE_ARGS+= --disable-perl
|
|
CONFIGURE_ARGS+= --with-freetds-prefix=${BUILDLINK_PREFIX.freetds}
|
|
CONFIGURE_ARGS+= --disable-postgresql
|
|
CONFIGURE_ARGS+= --disable-sqlite
|
|
CONFIGURE_ARGS+= --disable-mysql
|
|
CONFIGURE_ARGS+= --disable-odbc
|
|
|
|
BUILD_DIRS= src/connections
|
|
|
|
INSTALLATION_DIRS+= libexec/sqlrelay
|
|
|
|
do-install:
|
|
${LIBTOOL} --mode=install ${INSTALL_LIB} \
|
|
${WRKSRC}/${BUILD_DIRS}/sqlrconnection_freetds.la \
|
|
${DESTDIR}${PREFIX}/libexec/sqlrelay
|
|
|
|
.include "../../databases/freetds/buildlink3.mk"
|
|
.include "../../databases/sqlrelay/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|