diff options
author | recht <recht@pkgsrc.org> | 2004-05-23 17:50:57 +0000 |
---|---|---|
committer | recht <recht@pkgsrc.org> | 2004-05-23 17:50:57 +0000 |
commit | b12db6daa5b1a6ba71504cab15d7b63e683e7442 (patch) | |
tree | e5cd6b60cdd5d05e6c8284b806f6824093d28500 | |
parent | 4656bfa63752f45316dc187b0d4c53237fb2c097 (diff) | |
download | pkgsrc-b12db6daa5b1a6ba71504cab15d7b63e683e7442.tar.gz |
Add a check if XEN12_USE_COM2 is defined before using it.
-rw-r--r-- | sysutils/xen12/Makefile | 4 |
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 |