aboutsummaryrefslogtreecommitdiff
path: root/databases/firebird2-server
diff options
context:
space:
mode:
Diffstat (limited to 'databases/firebird2-server')
-rw-r--r--databases/firebird2-server/Makefile2
-rw-r--r--databases/firebird2-server/pkg-install4
2 files changed, 6 insertions, 0 deletions
diff --git a/databases/firebird2-server/Makefile b/databases/firebird2-server/Makefile
index 28a23455f090..69c2619d8482 100644
--- a/databases/firebird2-server/Makefile
+++ b/databases/firebird2-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/firebird2-server/pkg-install b/databases/firebird2-server/pkg-install
index c40e25e88ffc..61c651df083e 100644
--- a/databases/firebird2-server/pkg-install
+++ b/databases/firebird2-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