summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrecht <recht>2004-05-23 17:50:57 +0000
committerrecht <recht>2004-05-23 17:50:57 +0000
commit76c3b8be01b3e52c1acf3a35f199107f8ff8a751 (patch)
treee5cd6b60cdd5d05e6c8284b806f6824093d28500
parent392d354fbfe2b7d41c4cb0bfc5f0d3260e852052 (diff)
downloadpkgsrc-76c3b8be01b3e52c1acf3a35f199107f8ff8a751.tar.gz
Add a check if XEN12_USE_COM2 is defined before using it.
-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