mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +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@
45 lines
1.1 KiB
Makefile
45 lines
1.1 KiB
Makefile
COMMENT = HA and replication cluster management for PostgreSQL
|
|
|
|
DISTNAME = repmgr-5.4.1
|
|
CATEGORIES = databases
|
|
HOMEPAGE = https://repmgr.org/
|
|
REVISION = 1
|
|
|
|
SITES.github = https://github.com/EnterpriseDB/repmgr/commit/
|
|
PATCHFILES.github = repmgr-pg17-fix{5abdbb0d39e77b9463857c60a53707fd6f2abc45}.patch
|
|
PATCH_DIST_STRIP = -p1
|
|
|
|
# GPLv3
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
WANTLIB += c crypto curl curses execinfo json-c m pq readline ssl
|
|
WANTLIB += xml2 z pthread
|
|
|
|
# -Wvla and other unrecognized command line options
|
|
COMPILER = base-clang ports-gcc
|
|
COMPILER_LANGS= c c++
|
|
|
|
SITES = ${HOMEPAGE}download/
|
|
|
|
USE_GMAKE = Yes
|
|
MAKE_FLAGS = USE_PGXS=1
|
|
CONFIGURE_ENV = HAVE_GSED=no
|
|
CONFIGURE_STYLE = gnu
|
|
|
|
# for getopt_long.h
|
|
BUILD_DEPENDS = databases/postgresql,-server
|
|
LIB_DEPENDS = databases/postgresql \
|
|
net/curl \
|
|
devel/json-c
|
|
RUN_DEPENDS = net/rsync
|
|
|
|
NO_TEST = Yes
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/repmgr
|
|
${INSTALL_DATA} ${WRKSRC}/README.md ${PREFIX}/share/doc/repmgr
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/repmgr
|
|
${INSTALL_DATA} ${WRKSRC}/repmgr.conf.sample ${PREFIX}/share/examples/repmgr/repmgr.conf
|
|
|
|
.include <bsd.port.mk>
|