From b12db6daa5b1a6ba71504cab15d7b63e683e7442 Mon Sep 17 00:00:00 2001 From: recht Date: Sun, 23 May 2004 17:50:57 +0000 Subject: Add a check if XEN12_USE_COM2 is defined before using it. --- sysutils/xen12/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sysutils/xen12') diff --git a/sysutils/xen12/Makefile b/sysutils/xen12/Makefile index 4db48327586..d243f9de2df 100644 --- a/sysutils/xen12/Makefile +++ b/sysutils/xen12/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2004/05/22 19:09:53 cl Exp $ +# $NetBSD: Makefile,v 1.6 2004/05/23 17:50:57 recht Exp $ # DISTNAME= xeno-1.2-src-040418 @@ -26,7 +26,7 @@ USE_GNU_TOOLS+= make BUILD_DEFS+= XEN12_USE_COM2 -.if !empty(XEN12_USE_COM2:M[Yy][Ee][Ss]) +.if defined(XEN12_USE_COM2) && !empty(XEN12_USE_COM2:M[Yy][Ee][Ss]) PATCHFILES+= xen12-com2-support-040522.diff SITES_xen12-com2-support-040522.diff=ftp://ftp.NetBSD.org/pub/NetBSD/arch/xen/misc/ .endif -- cgit v1.2.3