[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / databases / sqlrelay-sqlite

File: [cvs.NetBSD.org] / pkgsrc / databases / sqlrelay-sqlite / Makefile (download)

Revision 1.49, Wed Nov 23 16:19:44 2022 UTC (2 months, 2 weeks ago) by adam
Branch: MAIN
Changes since 1.48: +2 -2 lines

massive revision bump after textproc/icu update

# $NetBSD: Makefile,v 1.49 2022/11/23 16:19:44 adam Exp $

PKGNAME=	${DISTNAME:S/sqlrelay/sqlrelay-sqlite/}
PKGREVISION=	9
COMMENT=	SQLite support for SQL Relay

.include "../../databases/sqlrelay/Makefile.common"

CONFIGURE_ARGS+=	--with-sqlite-prefix=${BUILDLINK_PREFIX.sqlite3}
# Configure never does this correctly
CXXFLAGS+=		-DSQLITE3=1
CONFIGURE_ARGS+=	--disable-postgresql
CONFIGURE_ARGS+=	--disable-mysql
CONFIGURE_ARGS+=	--disable-freetds
CONFIGURE_ARGS+=	--disable-odbc
CONFIGURE_ARGS+=	--disable-perl

BUILD_DIRS=		src/connections

INSTALLATION_DIRS+=	libexec/sqlrelay

do-install:
	${LIBTOOL} --mode=install ${INSTALL_LIB} \
		${WRKSRC}/${BUILD_DIRS}/sqlrconnection_sqlite.la \
		${DESTDIR}${PREFIX}/libexec/sqlrelay

.include "../../databases/sqlite3/buildlink3.mk"
.include "../../databases/sqlrelay/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"