Module Name:    src
Committed By:   mrg
Date:           Tue Apr 12 01:47:20 UTC 2011

Modified Files:
        src/usr.sbin/crash: Makefile

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


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/usr.sbin/crash/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.sbin/crash/Makefile
diff -u src/usr.sbin/crash/Makefile:1.8 src/usr.sbin/crash/Makefile:1.9
--- src/usr.sbin/crash/Makefile:1.8	Mon Apr 11 04:22:32 2011
+++ src/usr.sbin/crash/Makefile	Tue Apr 12 01:47:20 2011
@@ -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
 

Reply via email to