fccc45e5ff
Release notes: https://www.postgresql.org/docs/devel/release-14.html Also reintroduce parallel builds. Some components, namely plperl, plpython, pltcl and contrib, fail to build properly when using parallel builds. Something with static linking using `ar` that fails. MAKE_JOBS_UNSAFE is set for these ports.
34 lines
846 B
Makefile
34 lines
846 B
Makefile
# Created by: Palle Girgensohn <girgen@partitur.se>
|
|
|
|
PORTNAME= postgresql
|
|
# Keep the ?=, it is used by the other pltcl ports.
|
|
PORTREVISION?= 0
|
|
CATEGORIES= databases tcl
|
|
PKGNAMESUFFIX?= ${WANT_PGSQL_VER:S/.//}${COMPONENT}
|
|
|
|
MAINTAINER= pgsql@FreeBSD.org
|
|
COMMENT= Module for using Tcl to write SQL functions
|
|
|
|
MASTERDIR= ${.CURDIR}/../../databases/postgresql${WANT_PGSQL_VER:S/.//}-server
|
|
|
|
WANT_PGSQL_VER?=14
|
|
|
|
USES+= tcl pgsql:${WANT_PGSQL_VER}
|
|
WANT_PGSQL= server
|
|
|
|
CONFIGURE_ARGS= --with-tcl --without-tk \
|
|
--with-tclconfig="${TCL_LIBDIR}" \
|
|
--with-includes="${TCL_INCLUDEDIR}"
|
|
|
|
CONFIGURE_ENV+= TCLSH="${TCLSH}"
|
|
MAKE_ENV+= TCL_INCDIR="${TCL_INCLUDEDIR}"
|
|
|
|
BUILD_DIRS= src/backend src/pl/tcl
|
|
INSTALL_DIRS= src/pl/tcl
|
|
SLAVE_ONLY= yes
|
|
COMPONENT= -pltcl
|
|
|
|
# this port fails to build in parallel
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
.include "${MASTERDIR}/Makefile"
|