aboutsummaryrefslogtreecommitdiffstats
path: root/databases/firebird-server
diff options
context:
space:
mode:
authorpetef <petef@FreeBSD.org>2001-11-30 02:00:12 +0800
committerpetef <petef@FreeBSD.org>2001-11-30 02:00:12 +0800
commit49a19c5515e6aae440dc15995569d36ac76e9f2e (patch)
tree26de5d68969760f3fdae3462d97cc3285d529b00 /databases/firebird-server
parentd3fadf1b5d59d247ccb4169d53c51adc6b82cf8e (diff)
downloadfreebsd-ports-gnome-49a19c5515e6aae440dc15995569d36ac76e9f2e.tar.gz
freebsd-ports-gnome-49a19c5515e6aae440dc15995569d36ac76e9f2e.tar.zst
freebsd-ports-gnome-49a19c5515e6aae440dc15995569d36ac76e9f2e.zip
Fix ownership and permissions on shlibs to make ldconfig happy.
PR: 31871 Submitted by: Sergey Skvortsov <skv@protey.ru>
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 28a23455f090..69c2619d8482 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 c40e25e88ffc..61c651df083e 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