Edit

IABSD.fr/ports/databases/pgpool/Makefile

Branch :

  • Show log

    Commit

  • Author : claudio
    Date : 2026-06-22 20:09:46
    Hash : 852039bf
    Message : COMPILER_LANGS not COMPILER_LANG in databases/pgpool Bump REVISION Found by espie@, OK tb@ jca@

  • databases/pgpool/Makefile
  • COMMENT=	connection pool server for PostgreSQL
    
    DISTNAME=	pgpool-II-4.6.7
    REVISION=	2
    
    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/source/
    
    WANTLIB=	c crypto m pq ssl pthread
    
    # -Wvla and other unrecognized command line options
    COMPILER=	base-clang ports-gcc
    COMPILER_LANGS=	c
    
    CONFIGURE_STYLE= gnu
    CONFIGURE_ARGS=	--with-openssl
    
    CFLAGS+=	-Wno-unknown-warning-option
    
    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>