summaryrefslogtreecommitdiff
path: root/sysutils/xen12
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
commitb12db6daa5b1a6ba71504cab15d7b63e683e7442 (patch)
treee5cd6b60cdd5d05e6c8284b806f6824093d28500 /sysutils/xen12
parent4656bfa63752f45316dc187b0d4c53237fb2c097 (diff)
downloadpkgsrc-b12db6daa5b1a6ba71504cab15d7b63e683e7442.tar.gz
Add a check if XEN12_USE_COM2 is defined before using it.
Diffstat (limited to 'sysutils/xen12')
-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