freebsd-ports/databases/postgis/pkg-install
Sergey Matveychuk cc275e3968 - Fix build with non-standard LOCALBASE
PR:		ports/87657
Submitted by:	maintainer
2005-10-20 16:52:56 +00:00

44 lines
1,000 B
Bash

#!/bin/sh
msg(){
echo "
================== ** Postgis Upgrade Notice ** ====================
If you are a user from old versions of Postgis (1.0.0-RC5 or older),
stop now and read the README.postgis file located in port's files
directory to know how to make a dump from your databases !
If you need to backup your data, press CTRL-C now !
======================= 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.
====================================================================
"
sleep 10
}
case "$2" in
"PRE-INSTALL")
msg
;;
"MESSAGE")
msg
;;
esac