pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/xen12 Add a check if XEN12_USE_COM2 is define...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f581dc63e257
branches:  trunk
changeset: 475700:f581dc63e257
user:      recht <recht%pkgsrc.org@localhost>
date:      Sun May 23 17:50:57 2004 +0000

description:
Add a check if XEN12_USE_COM2 is defined before using it.

diffstat:

 sysutils/xen12/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 7d13dc0bf22e -r f581dc63e257 sysutils/xen12/Makefile
--- a/sysutils/xen12/Makefile   Sun May 23 17:15:09 2004 +0000
+++ b/sysutils/xen12/Makefile   Sun May 23 17:50:57 2004 +0000
@@ -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 @@
 
 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



Home | Main Index | Thread Index | Old Index