forked from Lainports/freebsd-ports
The PostgreSQL Global Development Group has released an update to all supported versions of our database system, including 13.2, 12.6, 11.11, 10.16, 9.6.21, and 9.5.25. This release closes two security vulnerabilities and fixes over 80 bugs reported over the last three months. Additionally, this is the final release of PostgreSQL 9.5. If you are running PostgreSQL 9.5 in a production environment, we suggest that you make plans to upgrade. Release notes: https://www.postgresql.org/about/news/postgresql-132-126-1111-1016-9621-and-9525-released-2165/ Security notes: https://www.postgresql.org/support/security/ Security: CVE-2021-3393, CVE-2021-20229
41 lines
1 KiB
Makefile
41 lines
1 KiB
Makefile
# Created by: Palle Girgensohn <girgen@pingpong.net>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= postgresql
|
|
PORTREVISION= 0
|
|
CATEGORIES= databases
|
|
|
|
MAINTAINER= pgsql@FreeBSD.org
|
|
COMMENT= The contrib utilities from the PostgreSQL distribution
|
|
|
|
MASTERDIR= ${.CURDIR}/../postgresql13-server
|
|
|
|
USES= bison pgsql:${DISTVERSION:C/([0-9]\.?[0-9]).*/\1/g}
|
|
|
|
BUILD_DIRS= src/port src/include src/common contrib
|
|
INSTALL_DIRS= contrib
|
|
|
|
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 && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} symlinks
|
|
|
|
post-install:
|
|
@- ${INSTALL_DATA} ${WRKSRC}/contrib/README ${STAGEDIR}${DOCSDIR}/extension/README
|
|
|
|
.include "${MASTERDIR}/Makefile"
|