aboutsummaryrefslogtreecommitdiffstats
path: root/databases/firebird-server
diff options
context:
space:
mode:
Diffstat (limited to 'databases/firebird-server')
-rw-r--r--databases/firebird-server/Makefile2
-rw-r--r--databases/firebird-server/pkg-install4
2 files changed, 6 insertions, 0 deletions
diff --git a/databases/firebird-server/Makefile b/databases/firebird-server/Makefile
index 28a23455f09..69c2619d848 100644
--- a/databases/firebird-server/Makefile
+++ b/databases/firebird-server/Makefile
@@ -62,6 +62,8 @@ do-install:
${RM} ${PREFIX}/firebird/install; \
${RM} ${PREFIX}/firebird/lib/libgds.so.1.0; \
${LN} -fs gds.so ${PREFIX}/firebird/lib/libgds.so.1; \
+ ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/firebird/lib \
+ ${CHMOD} -R g-w ${PREFIX}/firebird/lib \
cd ${PREFIX}/firebird/examples; \
tar zxf ${DISTDIR}/interbase0.9-4-v5examples.tar.gz; \
${CP} ${FILESDIR}/RELNOTES ${PREFIX}/firebird/ \
diff --git a/databases/firebird-server/pkg-install b/databases/firebird-server/pkg-install
index c40e25e88ff..61c651df083 100644
--- a/databases/firebird-server/pkg-install
+++ b/databases/firebird-server/pkg-install
@@ -73,6 +73,10 @@ EOF
elif [ "$2" = "POST-INSTALL" ]; then
chown -R firebird:firebird $PKG_PREFIX/firebird
+# make lib ldconfig-compatible
+chown -R root:wheel $PKG_PREFIX/firebird/lib
+chmod -R g-w $PKG_PREFIX/firebird/lib
+
# Turn everybody to read only.
chmod -R o=r $PKG_PREFIX/firebird