freebsd-ports/databases/postgis25/pkg-install
Wen Heping 28cd052f6d - Repocopy postgis24 --> postgis25 and update to 2.5.2
PR:		231712
Submitted by:	darcy@dbitech.ca
Reviewed by:	sunpoet@, rhurlin_gwdg.de, harrison.grundy-astrodoggroup.com
Approved by:	lbartoletti_tuxfamily.org(maintainer)
Differential Revision:	https://reviews.freebsd.org/D17320
2019-03-15 00:47:02 +00:00

37 lines
726 B
Bash

#!/bin/sh
msg(){
echo "
======================= GEOS Support Notice ========================
In order to use the GEOS support, you may need to specially compile
your version of PostgreSQL to link the C++ runtime library.
To do this, invoke the PostgreSQL Makefile script this way:
on csh shell:
setenv LDFLAGS -lstdc++
make
on sh or bash shell:
export LDFLAGS=-lstdc++
make
The initial LDFLAGS variable is passed through to the Makefile and
adds the C++ library to the linking stage.
====================================================================
"
if [ -n "${PACKAGE_BUILDING}" ]; then
sleep 10
fi
}
case "$2" in
PRE-INSTALL)
msg ;;
MESSAGE)
msg ;;
esac