1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/databases/postgis21/pkg-install
Ruslan Makhmatkhanov c3399640e0 Add PostGIS 2.1.0
PR:		182032 (based on)
Submitted by:	Trevor Caira <trevor@bitba.se>
2013-09-14 07:03:10 +00:00

38 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