forked from Lainports/freebsd-ports
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3 to GCC 9.1 under most circumstances now after revision 507371. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang, c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib plus, everything INDEX-11 shows with a dependency on lang/gcc9 now. PR: 238330
47 lines
1,004 B
Makefile
47 lines
1,004 B
Makefile
# Created by: vanilla@
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= libzdb
|
|
PORTVERSION= 3.2
|
|
PORTREVISION= 1
|
|
CATEGORIES= databases
|
|
MASTER_SITES= https://www.tildeslash.com/libzdb/dist/
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= Thread-safe connection pool library
|
|
|
|
LICENSE= GPLv3
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
BROKEN_i386= fails to build
|
|
|
|
USES= compiler:c11 gmake libtool localbase pathfix
|
|
|
|
GNU_CONFIGURE= yes
|
|
INSTALL_TARGET= install-strip
|
|
USE_LDCONFIG= yes
|
|
|
|
OPTIONS_DEFINE= SSL
|
|
OPTIONS_DEFAULT= MYSQL PGSQL SQLITE SSL
|
|
OPTIONS_MULTI= DB
|
|
OPTIONS_MULTI_DB= MYSQL PGSQL SQLITE
|
|
|
|
MYSQL_CONFIGURE_WITH= mysql=${LOCALBASE}/bin/mysql_config
|
|
MYSQL_USES= mysql
|
|
PGSQL_CONFIGURE_WITH= postgresql=${LOCALBASE}/bin/pg_config
|
|
PGSQL_USES= pgsql
|
|
SQLITE_CONFIGURE_WITH= sqlite=${LOCALBASE}
|
|
SQLITE_USES= sqlite
|
|
SSL_USES= ssl
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MSSL}
|
|
.if ${SSL_DEFAULT} == base
|
|
CONFIGURE_ARGS+= --enable-openssl
|
|
.else
|
|
CONFIGURE_ARGS+= --enable-openssl=${OPENSSLBASE}
|
|
.endif
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|