blob: 0336a2a3bc965743bacec32d33a5ffa1ef8f8e9e (
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
30
31
32
33
34
35
36
|
# $NetBSD: Makefile,v 1.1.1.1 2004/04/15 10:37:24 grant Exp $
DISTNAME= sqlrelay-0.33.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_BUILDLINK2= YES
USE_GCC_SHLIB= YES
USE_GNU_TOOLS+= make
USE_LIBTOOL= YES
USE_PKGLOCALEDIR= 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 "../../databases/mysql-client/buildlink2.mk"
CONFIGURE_ARGS+= --with-mysql=${BUILDLINK_DIR}
.endif
.if defined(SQLRELAY.postgresql) && ${SQLRELAY.postgresql} == "YES"
. include "../../databases/postgresql-lib/buildlink2.mk"
CONFIGURE_ARGS+= --with-postgresql=${BUILDLINK_DIR}
.endif
.include "../../devel/rudiments/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
|