Import security/py-yara version 3.4.0
[dports.git] / databases / postgis21 / pkg-install
1 #!/bin/sh
2
3 msg(){
4  echo "
5   ======================= GEOS Support Notice ========================
6   In order to use the GEOS support, you may need to specially compile
7   your version of PostgreSQL to link the C++ runtime library.
8   To do this, invoke the PostgreSQL Makefile script this way:
9
10   on csh shell:
11
12   setenv LDFLAGS -lstdc++
13   make
14
15   on sh or bash shell:
16
17   export LDFLAGS=-lstdc++
18   make
19
20   The initial LDFLAGS variable is passed through to the Makefile and
21   adds the C++ library to the linking stage.
22
23   ====================================================================
24 "
25 if [ -n "${PACKAGE_BUILDING}" ]; then
26     sleep 10
27 fi
28
29
30 }
31
32 case "$2" in
33     PRE-INSTALL)
34         msg ;;
35     MESSAGE)
36         msg ;;
37 esac