mirror of
https://git.freebsd.org/ports.git
synced 2025-04-30 10:36:38 -04:00
The PostgreSQL Global Development Group has released an update to all supported versions of PostgreSQL, including 16.4, 15.8, 14.13, 13.16, and 12.20. This release fixes 1 security vulnerability and over 55 bugs reported over the last several months. PR: 279671 - make the rc script service jails aware PR: 279536 - remove LLVM max version restriction PR: 278887 - SETENV -> SETENVI for -contrib ports Release notes: https://www.postgresql.org/docs/release/
41 lines
1,013 B
Makefile
41 lines
1,013 B
Makefile
PORTNAME= postgresql
|
|
PORTREVISION= 0
|
|
CATEGORIES= databases
|
|
|
|
MAINTAINER= pgsql@FreeBSD.org
|
|
COMMENT= The contrib utilities from the PostgreSQL distribution
|
|
|
|
MASTERDIR= ${.CURDIR}/../postgresql15-server
|
|
|
|
USES= bison pgsql:${PORTVERSION:R}
|
|
|
|
BUILD_DIRS= src/port src/include src/common contrib
|
|
INSTALL_DIRS= contrib
|
|
|
|
# this port fails to build in parallel
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
SLAVE_ONLY= yes
|
|
COMPONENT= -contrib
|
|
CONFIGURE_ARGS= --disable-nls --with-uuid=bsd
|
|
LDFLAGS+= -lpthread -L${PREFIX}/lib
|
|
|
|
OPTIONS_DEFINE= DOCS OPENSSL XML
|
|
OPTIONS_DEFAULT=OPENSSL XML
|
|
OPTIONS_SUB= yes
|
|
|
|
OPENSSL_DESC= Build with OpenSSL support
|
|
OPENSSL_USES= ssl
|
|
OPENSSL_CONFIGURE_WITH= openssl
|
|
|
|
XML_CONFIGURE_WITH= libxslt libxml
|
|
XML_LIB_DEPENDS=libxslt.so:textproc/libxslt \
|
|
libxml2.so:textproc/libxml2
|
|
|
|
post-configure:
|
|
@cd ${WRKSRC}/src/backend && ${SETENVI} ${WRK_ENV} ${MAKE_ENV} ${MAKE_CMD} symlinks
|
|
|
|
post-install:
|
|
@- ${INSTALL_DATA} ${WRKSRC}/contrib/README ${STAGEDIR}${DOCSDIR}/extension/README
|
|
|
|
.include "${MASTERDIR}/Makefile"
|