aboutsummaryrefslogtreecommitdiffstats
path: root/databases/postgis21/pkg-install
blob: a61b132fcc5c944e8b4b0ace6189a5866eee0c43 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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