aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgallatin <gallatin@FreeBSD.org>2000-03-08 12:14:53 +0800
committergallatin <gallatin@FreeBSD.org>2000-03-08 12:14:53 +0800
commitc4b25ccab9dce7f0f3cb71cdecc85100055fae8a (patch)
tree50e9bd0045f23e38a3f88fa17c86b9a97b7c3a2f
parentd06c0f261793f19ea2ce11d7f5d0d94adde106cc (diff)
downloadfreebsd-ports-gnome-c4b25ccab9dce7f0f3cb71cdecc85100055fae8a.tar.gz
freebsd-ports-gnome-c4b25ccab9dce7f0f3cb71cdecc85100055fae8a.tar.zst
freebsd-ports-gnome-c4b25ccab9dce7f0f3cb71cdecc85100055fae8a.zip
make a symlink out of the compat environment so that programs calling
system() will be able to find /sbin/sh This allows Netscape to run external apps (eg, ghostview)
-rw-r--r--emulators/osf1_base/Makefile1
-rw-r--r--emulators/osf1_base/pkg-plist2
2 files changed, 3 insertions, 0 deletions
diff --git a/emulators/osf1_base/Makefile b/emulators/osf1_base/Makefile
index 444b69f8b6e2..ad8b80e2b6f3 100644
--- a/emulators/osf1_base/Makefile
+++ b/emulators/osf1_base/Makefile
@@ -47,6 +47,7 @@ do-install:
@cd ${PREFIX}/usr/shlib ; ${LN} -sf libc.so libc_r.so
@cd ${PREFIX}/usr/shlib ; ${LN} -sf libc.so libpthread.so
@cd ${PREFIX}/usr/shlib ; ${LN} -sf libc.so libpthreads.so
+ @cd ${PREFIX}/sbin ; ${LN} -sf /bin/sh sh
@touch ${PREFIX}/etc/sia/siainitgood
.include <bsd.port.mk>
diff --git a/emulators/osf1_base/pkg-plist b/emulators/osf1_base/pkg-plist
index 11f56a5563a6..d8682d79215e 100644
--- a/emulators/osf1_base/pkg-plist
+++ b/emulators/osf1_base/pkg-plist
@@ -24,6 +24,8 @@ usr/lib/X11
usr/shlib/libc_r.so
usr/shlib/libpthread.so
usr/shlib/libpthreads.so
+sbin/sh
+@unexec rm -f %D/usr/lib/X11
@dirrm sbin
@dirrm etc/sia
@dirrm etc