mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-13 07:34:50 +00:00
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.
24 lines
482 B
Bash
24 lines
482 B
Bash
#! /bin/sh
|
|
|
|
PATH=/bin:/usr/bin:/usr/sbin
|
|
|
|
backupwarning() {
|
|
cat <<EOF
|
|
|
|
=========== BACKUP YOUR DATA! =============
|
|
As always, backup your data before
|
|
upgrading. If the upgrade leads to a higher
|
|
major revision (e.g. 9.6 -> 10), a dump
|
|
and restore of all databases is
|
|
required. This is *NOT* done by the port!
|
|
See https://www.postgresql.org/docs/current/upgrading.html
|
|
===========================================
|
|
EOF
|
|
}
|
|
|
|
case $2 in
|
|
PRE-INSTALL)
|
|
backupwarning
|
|
;;
|
|
esac
|