summaryrefslogtreecommitdiff
path: root/sysutils/xen12/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/xen12/Makefile')
-rw-r--r--sysutils/xen12/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/sysutils/xen12/Makefile b/sysutils/xen12/Makefile
index 2cc5a721821..4db48327586 100644
--- a/sysutils/xen12/Makefile
+++ b/sysutils/xen12/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2004/05/22 18:12:40 cl Exp $
+# $NetBSD: Makefile,v 1.5 2004/05/22 19:09:53 cl Exp $
#
DISTNAME= xeno-1.2-src-040418
@@ -22,6 +22,15 @@ USE_PKGINSTALL= yes
USE_GNU_TOOLS+= make
+.include "../../mk/bsd.prefs.mk"
+
+BUILD_DEFS+= XEN12_USE_COM2
+
+.if !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
+
post-extract:
@${CP} ${FILESDIR}/gcc333-stdarg.h ${WRKSRC}/include/stdarg.h
@${CP} ${WRKDIR}/xen12-addtl-ide-dma-040522/drivers/ide/* ${WRKSRC}/drivers/ide/