summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorrecht <recht@pkgsrc.org>2004-05-23 17:50:57 +0000
committerrecht <recht@pkgsrc.org>2004-05-23 17:50:57 +0000
commit05f4240ef81a9b3c341945ff2161cd301c517694 (patch)
treee5cd6b60cdd5d05e6c8284b806f6824093d28500 /sysutils
parent87aa3431a6fe22f390c717be4985614374053c1e (diff)
downloadpkgsrc-05f4240ef81a9b3c341945ff2161cd301c517694.tar.gz
Add a check if XEN12_USE_COM2 is defined before using it.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/xen12/Makefile4
1 files changed, 2 insertions, 2 deletions
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