diff options
author | jlam <jlam@pkgsrc.org> | 2000-10-14 00:17:18 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2000-10-14 00:17:18 +0000 |
commit | b56bc45bfcdb2bbd2c68a825701b2901f5ab1783 (patch) | |
tree | a376563ef609332b47ca93073256b06f2a4ed415 /emulators/compat13 | |
parent | 943a1e9a35622707805ab9d9d67ed3fb8a9bda60 (diff) | |
download | pkgsrc-b56bc45bfcdb2bbd2c68a825701b2901f5ab1783.tar.gz |
Group logical expressions correctly.
Diffstat (limited to 'emulators/compat13')
-rw-r--r-- | emulators/compat13/Makefile | 5 | ||||
-rw-r--r-- | emulators/compat13/pkg/INSTALL | 7 |
2 files changed, 6 insertions, 6 deletions
diff --git a/emulators/compat13/Makefile b/emulators/compat13/Makefile index e722086e0df..873b66b5d2c 100644 --- a/emulators/compat13/Makefile +++ b/emulators/compat13/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2000/10/14 00:01:58 jlam Exp $ +# $NetBSD: Makefile,v 1.8 2000/10/14 00:17:19 jlam Exp $ # DISTNAME= compat13-${MACHINE_ARCH} @@ -23,7 +23,8 @@ INSTALL_FILE= ${WRKDIR}/INSTALL .include "../../mk/bsd.prefs.mk" # This installs in /usr (or /emul/aout/usr) to avoid dynamic linker annoyances -.if ${MACHINE_ARCH} == "i386" && ${OBJECT_FMT} == "ELF" +.if ${OBJECT_FMT} == "ELF" && \ + (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "sparc") EMULSUBDIR= emul/aout COMPAT_LIBDIR= ${EMULSUBDIR}/usr/lib .else diff --git a/emulators/compat13/pkg/INSTALL b/emulators/compat13/pkg/INSTALL index c1dd6e343a1..28ccdbfd0fc 100644 --- a/emulators/compat13/pkg/INSTALL +++ b/emulators/compat13/pkg/INSTALL @@ -1,6 +1,6 @@ #!/bin/sh # -# $NetBSD: INSTALL,v 1.2 2000/10/14 00:01:58 jlam Exp $ +# $NetBSD: INSTALL,v 1.3 2000/10/14 00:17:19 jlam Exp $ PKGNAME=$1 STAGE=$2 @@ -20,9 +20,8 @@ POST-INSTALL) # Only create the symlink on certain platform/object combinations. # create_emul_symlink=0 - if [ "${OBJECT_FMT}" = "ELF" -a \ - "${MACHINE_ARCH}" = "i386" -o \ - "${MACHINE_ARCH}" = "sparc" ] + if [ "${OBJECT_FMT}" = "ELF" ] && \ + [ "${MACHINE_ARCH}" = "i386" -o "${MACHINE_ARCH}" = "sparc" ] then create_emul_symlink=1 fi |