diff options
Diffstat (limited to 'emulators/osf1_lib/INSTALL')
-rw-r--r-- | emulators/osf1_lib/INSTALL | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/emulators/osf1_lib/INSTALL b/emulators/osf1_lib/INSTALL new file mode 100644 index 00000000000..52061de287b --- /dev/null +++ b/emulators/osf1_lib/INSTALL @@ -0,0 +1,33 @@ +#!/bin/sh +# $NetBSD: INSTALL,v 1.1 2001/10/31 23:53:11 zuntum Exp $ + +emul=osf1 +if [ "$2" != "POST-INSTALL" ]; then exit 0; fi + +cat <<EOF +============================================================================== + +Do not forget to include COMPAT_OSF1 in your kernel configuration +file. (OSF/1 binaries require this option in order to work.) +EOF + +if [ "`cd /etc && cd ${PKG_PREFIX}/emul/$emul 2>/dev/null && pwd -P`" != \ + "`cd / && cd /emul/$emul 2>/dev/null && pwd -P`" ]; then + if [ -e /emul/$emul -o -L /emul/$emul ] || \ + [ \( -e /emul -o -L /emul \) -a ! -d /emul ]; then + cat <<-EOF + + IMPORTANT: You must create a symbolic link from /emul/$emul to + ${PKG_PREFIX}/emul/$emul in order for this package to work properly. + (It seems there is something else located at /emul/$emul.) + EOF + else + mkdir -p /emul + ln -sf ${PKG_PREFIX}/emul/$emul /emul/$emul + fi +fi + +cat <<EOF + +============================================================================== +EOF |