summaryrefslogtreecommitdiff
path: root/databases/firebird-client
diff options
context:
space:
mode:
authorPete Fritchman <petef@FreeBSD.org>2001-11-29 18:00:12 +0000
committerPete Fritchman <petef@FreeBSD.org>2001-11-29 18:00:12 +0000
commit67e40562d50cbbd4fb0aafe2f349a065c1b87fb3 (patch)
tree4012460ec60187d1a50d6a93b18321853043b2cc /databases/firebird-client
parentUpdate MAINTAINER's email address: anders@codefactory.se -> anders@hack.org (diff)
Fix ownership and permissions on shlibs to make ldconfig happy.
PR: 31871 Submitted by: Sergey Skvortsov <skv@protey.ru>
Notes
Notes: svn path=/head/; revision=50727
Diffstat (limited to 'databases/firebird-client')
-rw-r--r--databases/firebird-client/Makefile2
-rw-r--r--databases/firebird-client/pkg-install4
2 files changed, 6 insertions, 0 deletions
diff --git a/databases/firebird-client/Makefile b/databases/firebird-client/Makefile
index 28a23455f090..69c2619d8482 100644
--- a/databases/firebird-client/Makefile
+++ b/databases/firebird-client/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-client/pkg-install b/databases/firebird-client/pkg-install
index c40e25e88ffc..61c651df083e 100644
--- a/databases/firebird-client/pkg-install
+++ b/databases/firebird-client/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