aboutsummaryrefslogtreecommitdiffstats
path: root/databases/postgis22/pkg-install
diff options
context:
space:
mode:
Diffstat (limited to 'databases/postgis22/pkg-install')
-rw-r--r--databases/postgis22/pkg-install37
1 files changed, 37 insertions, 0 deletions
diff --git a/databases/postgis22/pkg-install b/databases/postgis22/pkg-install
new file mode 100644
index 000000000000..a61b132fcc5c
--- /dev/null
+++ b/databases/postgis22/pkg-install
@@ -0,0 +1,37 @@
+#!/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