From 501c7f764d0d1b513e5c7db3a4ae7ce5aa66de80 Mon Sep 17 00:00:00 2001 From: jlam Date: Sat, 30 Aug 2003 19:02:33 +0000 Subject: Convert to use bsd.pkg.install.mk. --- emulators/compat14/INSTALL | 24 ++++++------------------ 1 file changed, 6 insertions(+), 18 deletions(-) (limited to 'emulators/compat14/INSTALL') diff --git a/emulators/compat14/INSTALL b/emulators/compat14/INSTALL index 269c00e55c6..b37ac594721 100644 --- a/emulators/compat14/INSTALL +++ b/emulators/compat14/INSTALL @@ -1,20 +1,13 @@ -#!/bin/sh -# -# $NetBSD: INSTALL,v 1.1 2001/10/31 23:52:28 zuntum Exp $ - -PKGNAME=$1 -STAGE=$2 +# $NetBSD: INSTALL,v 1.2 2003/08/30 19:02:33 jlam Exp $ case ${STAGE} in -PRE-INSTALL) - ;; POST-INSTALL) MACHINE_ARCH=@MACHINE_ARCH@ OBJECT_FMT=@OBJECT_FMT@ if [ "${MACHINE_ARCH}" = "mipsel" ] then - ln -sf ld.elf_so /usr/libexec/ld.so + ${LN} -sf ld.elf_so /usr/libexec/ld.so fi # Only create the symlink on certain platform/object combinations. Note @@ -39,7 +32,7 @@ POST-INSTALL) if [ -e /emul/$emul -o -L /emul/$emul ] || \ [ \( -e /emul -o -L /emul \) -a ! -d /emul ] then - cat </dev/null 2>&1 - ;; -*) - echo "Unexpected argument: ${STAGE}" - exit 1 + ( @LDCONFIG@ || ${TRUE} ) >/dev/null 2>&1 ;; esac -exit 0 -- cgit v1.2.3