Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/crash replace a non-working make construct with a w...



details:   https://anonhg.NetBSD.org/src/rev/b6781ed9bbdf
branches:  trunk
changeset: 764129:b6781ed9bbdf
user:      mrg <mrg%NetBSD.org@localhost>
date:      Tue Apr 12 01:47:20 2011 +0000

description:
replace a non-working make construct with a working one.
now crash only builds unsupported.c on non-x86 systems again.

diffstat:

 usr.sbin/crash/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 29413e9149a3 -r b6781ed9bbdf usr.sbin/crash/Makefile
--- a/usr.sbin/crash/Makefile   Tue Apr 12 00:21:10 2011 +0000
+++ b/usr.sbin/crash/Makefile   Tue Apr 12 01:47:20 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.8 2011/04/11 04:22:32 mrg Exp $
+#      $NetBSD: Makefile,v 1.9 2011/04/12 01:47:20 mrg Exp $
 
 PROG=          crash
 MAN=           crash.8
@@ -9,7 +9,8 @@
 
 # some ddb kernel components need limited modifications.  for now,
 # punt if not noted as implemented here.
-.if !empty(${MACHINE:C/(amd64|i386)//})
+.if    ${MACHINE} != "amd64" \
+    && ${MACHINE} != "i386"
 SRCS+= unsupported.c
 .else
 



Home | Main Index | Thread Index | Old Index