summaryrefslogtreecommitdiff
path: root/emulators/compat13
diff options
context:
space:
mode:
authorjlam <jlam>2000-10-14 00:17:18 +0000
committerjlam <jlam>2000-10-14 00:17:18 +0000
commit69b08eea68ee93e1a7446394b81f8f0243148dd3 (patch)
treea376563ef609332b47ca93073256b06f2a4ed415 /emulators/compat13
parent99a6bb5940e0af4b7447522999f6a20924c86fe8 (diff)
downloadpkgsrc-69b08eea68ee93e1a7446394b81f8f0243148dd3.tar.gz
Group logical expressions correctly.
Diffstat (limited to 'emulators/compat13')
-rw-r--r--emulators/compat13/Makefile5
-rw-r--r--emulators/compat13/pkg/INSTALL7
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