summaryrefslogtreecommitdiff
path: root/emulators/compat13/pkg/INSTALL
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/compat13/pkg/INSTALL')
-rw-r--r--emulators/compat13/pkg/INSTALL11
1 files changed, 9 insertions, 2 deletions
diff --git a/emulators/compat13/pkg/INSTALL b/emulators/compat13/pkg/INSTALL
index 2f16d9a74c6..c1dd6e343a1 100644
--- a/emulators/compat13/pkg/INSTALL
+++ b/emulators/compat13/pkg/INSTALL
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: INSTALL,v 1.1 2000/10/13 23:36:40 jlam Exp $
+# $NetBSD: INSTALL,v 1.2 2000/10/14 00:01:58 jlam Exp $
PKGNAME=$1
STAGE=$2
@@ -20,7 +20,9 @@ POST-INSTALL)
# Only create the symlink on certain platform/object combinations.
#
create_emul_symlink=0
- if [ "${MACHINE_ARCH}" = "i386" -a "${OBJECT_FMT}" = "ELF" ]
+ if [ "${OBJECT_FMT}" = "ELF" -a \
+ "${MACHINE_ARCH}" = "i386" -o \
+ "${MACHINE_ARCH}" = "sparc" ]
then
create_emul_symlink=1
fi
@@ -52,6 +54,11 @@ EOF
fi
fi
fi
+
+ # Regenerate the shared library cache. This should work on either
+ # a.out or on ELF with the 1.5 release.
+ #
+ ( @LDCONFIG@ || true ) >/dev/null 2>&1
;;
*)
echo "Unexpected argument: ${STAGE}"