freebsd-ports/databases/postgis24/pkg-install
Rodrigo Osorio 0728b32d34 Add port databases/postgis24 by repo copy from databases/postgis23
See https://svn.osgeo.org/postgis/tags/2.4.2/NEWS for new features in 2.4
branch, bugfixes and enhancements

PR:		222703
Submitted by:	lbartoletti@tuxfamily.org
Reviewed by:	sunpoet
2017-12-19 16:49:23 +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