mirror of
https://github.com/openbsd/ports.git
synced 2026-06-18 07:24:23 +02:00
255d573c71
cc1: error: -Werror=vla: No option -Wvla cc1: error: unrecognized command line option "-Wimplicit-fallthrough=3" cc1: error: unrecognized command line option "-Wcast-function-type" cc1: error: unrecognized command line option "-Wshadow=compatible-local" cc1: error: unrecognized command line option "-fexcess-precision=standard" cc1: error: unrecognized command line option "-Wno-stringop-truncation" OK jca@, go for it tb@
43 lines
1.0 KiB
Makefile
43 lines
1.0 KiB
Makefile
COMMENT= connection pool server for PostgreSQL
|
|
|
|
DISTNAME= pgpool-II-4.6.0
|
|
|
|
CATEGORIES= databases
|
|
|
|
HOMEPAGE= https://www.pgpool.net/
|
|
|
|
MAINTAINER= Pierre-Emmanuel Andre <pea@openbsd.org>
|
|
|
|
SHARED_LIBS= pcp 0.0
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE= Yes
|
|
|
|
SITES= https://www.pgpool.net/mediawiki/images/
|
|
|
|
WANTLIB= c crypto m pq ssl pthread
|
|
|
|
# -Wvla and other unrecognized command line options
|
|
COMPILER= base-clang ports-gcc
|
|
COMPILER_LANG= c
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ARGS= --with-openssl
|
|
|
|
USE_GMAKE= Yes
|
|
FAKE_FLAGS= sysconfdir=${PREFIX}/share/examples/pgpool-II/
|
|
|
|
BUILD_DEPENDS = databases/postgresql,-server
|
|
LIB_DEPENDS = databases/postgresql
|
|
|
|
post-install:
|
|
@cd ${WRKSRC}/src/sql/pgpool-regclass && \
|
|
env -i ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS} \
|
|
-f ${MAKE_FILE} ${ALL_TARGET} && \
|
|
env -i ${MAKE_ENV} \
|
|
PREFIX=${WRKINST}${PREFIX} ${DESTDIRNAME}=${WRKINST} TRUEPREFIX=${PREFIX} \
|
|
${MAKE_PROGRAM} ${ALL_FAKE_FLAGS} -f ${MAKE_FILE} ${FAKE_TARGET}
|
|
${INSTALL_MAN} ${WRKDIST}/./doc/src/sgml/man8/pgpool.8 ${PREFIX}/man/man8/
|
|
|
|
.include <bsd.port.mk>
|