pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/emulators/suse_linux Fail gracefully for architectures...
details: https://anonhg.NetBSD.org/pkgsrc/rev/cf6de29f6a5a
branches: trunk
changeset: 473719:cf6de29f6a5a
user: kristerw <kristerw%pkgsrc.org@localhost>
date: Fri Apr 23 23:52:42 2004 +0000
description:
Fail gracefully for architectures that cannot use the suse_linux
packages (instead of error due to use of uninitialized variables).
diffstat:
emulators/suse_linux/Makefile.application | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diffs (22 lines):
diff -r a78f945a2b79 -r cf6de29f6a5a emulators/suse_linux/Makefile.application
--- a/emulators/suse_linux/Makefile.application Fri Apr 23 23:49:28 2004 +0000
+++ b/emulators/suse_linux/Makefile.application Fri Apr 23 23:52:42 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.application,v 1.11 2004/04/14 11:31:12 xtraeme Exp $
+# $NetBSD: Makefile.application,v 1.12 2004/04/23 23:52:42 kristerw Exp $
.include "../../mk/bsd.prefs.mk"
@@ -8,10 +8,9 @@
_LINUX_SYSCTL_OSRELEASE?= emul.linux.kern.osrelease
.endif
-.if (${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD")
-. if (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "powerpc")
+.if ((${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD") && \
+ (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "powerpc"))
LINUX_KERNEL_OSRELEASE!= (/sbin/sysctl -n ${_LINUX_SYSCTL_OSRELEASE} 2>/dev/null; ${ECHO} 2.0.38) | ${HEAD} -1
-. endif
. if ${LINUX_KERNEL_OSRELEASE} == "2.0.38"
SUSE_DIR_PREFIX= suse64
Home |
Main Index |
Thread Index |
Old Index