mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
ec94e4d5eb
- ports that set USE_SQLITE with the *_USE option helper - ports that depend on libsqlite3 indirectly as reported by pkg rquery Approved by: portmgr (implicit)
40 lines
998 B
Makefile
40 lines
998 B
Makefile
# Created by: vanilla@
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= libzdb
|
|
PORTVERSION= 3.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= databases
|
|
MASTER_SITES= http://www.tildeslash.com/libzdb/dist/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Thread-safe connection pool library
|
|
|
|
LICENSE= GPLv3
|
|
|
|
USES= gmake libtool pathfix
|
|
GNU_CONFIGURE= yes
|
|
INSTALL_TARGET= install-strip
|
|
USE_LDCONFIG= yes
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib -pthread
|
|
|
|
OPTIONS_DEFINE= MYSQL PGSQL SQLITE SSL
|
|
OPTIONS_DEFAULT= MYSQL PGSQL SQLITE SSL
|
|
|
|
MYSQL_USE= mysql=yes
|
|
MYSQL_CONFIGURE_ON= --with-mysql=${LOCALBASE}/bin/mysql_config
|
|
MYSQL_CONFIGURE_OFF= --without-mysql
|
|
PGSQL_USE= pgsql=yes
|
|
PGSQL_CONFIGURE_ON= --with-postgresql=${LOCALBASE}/bin/pg_config
|
|
PGSQL_CONFIGURE_OFF= --without-postgresql
|
|
SQLITE_USE= sqlite=3
|
|
SQLITE_CONFIGURE_ON= --with-sqlite=${LOCALBASE}
|
|
SQLITE_CONFIGURE_OFF= --without-sqlite
|
|
SSL_USE= openssl=yes
|
|
SSL_CONFIGURE_ON= --enable-openssl=${OPENSSLBASE}
|
|
SSL_CONFIGURE_OFF= --disable-openssl
|
|
|
|
.include <bsd.port.mk>
|