pkgsrc/databases/sqlrelay/Makefile
wiz ece154d637 USE_LANGUAGES= c c++
Remove USE_PKGLOCALEDIR, the package does not install any locale files.
2004-11-22 21:38:32 +00:00

36 lines
957 B
Makefile

# $NetBSD: Makefile,v 1.7 2004/11/22 21:38:32 wiz Exp $
DISTNAME= sqlrelay-0.33.1
PKGREVISION= 1
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=sqlrelay/}
MAINTAINER= grant@NetBSD.org
HOMEPAGE= http://sqlrelay.sourceforge.net/
COMMENT= Enables pooling and sharing of database connections
GNU_CONFIGURE= YES
USE_BUILDLINK3= YES
USE_LANGUAGES= c c++
USE_GNU_TOOLS+= make
USE_LIBTOOL= YES
#SQLRELAY_DATABASES+= mysql postgresql
SQLRELAY_DATABASES?= # empty
.for _db_ in ${SQLRELAY_DATABASES}
SQLRELAY.${_db_}?= YES
.endfor
.if defined(SQLRELAY.mysql) && ${SQLRELAY.mysql} == "YES"
. include "../../mk/mysql.buildlink3.mk"
CONFIGURE_ARGS+= --with-mysql=${BUILDLINK_DIR}
.endif
.if defined(SQLRELAY.postgresql) && ${SQLRELAY.postgresql} == "YES"
. include "../../mk/pgsql.buildlink3.mk"
CONFIGURE_ARGS+= --with-postgresql=${BUILDLINK_DIR}
.endif
.include "../../devel/rudiments/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"