summaryrefslogtreecommitdiffstats
path: root/databases/firebird-server/scripts
diff options
context:
space:
mode:
authordemon <demon@FreeBSD.org>2001-12-02 17:53:14 +0000
committerdemon <demon@FreeBSD.org>2001-12-02 17:53:14 +0000
commit2f4a41c68316b5ad120514b9e4f09d48f4e08822 (patch)
tree804c95bb12b050dca34dadb4ebe588ef0f09d147 /databases/firebird-server/scripts
parent386e73b27a1bb39ba708ab32af54c8ccc8499750 (diff)
downloadFreeBSD-ports-2f4a41c68316b5ad120514b9e4f09d48f4e08822.zip
FreeBSD-ports-2f4a41c68316b5ad120514b9e4f09d48f4e08822.tar.gz
Minor updates from MAINTAINER.
PR: 32423 Submitted by: chris@aims.com.au
Diffstat (limited to 'databases/firebird-server/scripts')
-rw-r--r--databases/firebird-server/scripts/post-install10
1 files changed, 9 insertions, 1 deletions
diff --git a/databases/firebird-server/scripts/post-install b/databases/firebird-server/scripts/post-install
index e4d2d3a..c2515fd 100644
--- a/databases/firebird-server/scripts/post-install
+++ b/databases/firebird-server/scripts/post-install
@@ -17,7 +17,13 @@ for i in `find $PREFIX/firebird -print`
fi
done
+# make lib ldconfig-compatible
+chown -R root:wheel $PREFIX/firebird/lib
+chmod -R g-w $PREFIX/firebird/lib
+# Fix UDF load problem
+cd $PREFIX/firebird/lib
+ln -sf ib_util.so libib_util.so
cd $PREFIX/firebird/bin
@@ -58,7 +64,9 @@ sh $SCRIPTDIR/rmservice
# add the gds service and restart inetd
sh $SCRIPTDIR/addservice
-kill -HUP `cat /var/run/inetd.pid`
+if [ -f /var/run/inetd.pid ]; then
+ kill -HUP `cat /var/run/inetd.pid`
+fi
sed "s|%%PREFIX%%|$PREFIX|" $SCRIPTDIR/../pkg-message
OpenPOWER on IntegriCloud