summaryrefslogtreecommitdiff
path: root/sysutils/xentools41
diff options
context:
space:
mode:
authorbouyer <bouyer>2011-10-16 20:33:35 +0000
committerbouyer <bouyer>2011-10-16 20:33:35 +0000
commitc18fc4a4a15ccf75ee8efe8c631c06aa73bf3744 (patch)
tree58443f9e5746d217ab1ab6d135f8c9a971650ef9 /sysutils/xentools41
parent3e7e7e98a94eb4edc1c31aea68b50be25118c7e1 (diff)
downloadpkgsrc-c18fc4a4a15ccf75ee8efe8c631c06aa73bf3744.tar.gz
This needs iasl to build, so depend on acpica-utils if /usr/bin/iasl
doens't exist.
Diffstat (limited to 'sysutils/xentools41')
-rw-r--r--sysutils/xentools41/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/sysutils/xentools41/Makefile b/sysutils/xentools41/Makefile
index 4120bb0e8c3..8398611ae42 100644
--- a/sysutils/xentools41/Makefile
+++ b/sysutils/xentools41/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2011/10/03 17:01:06 sborrill Exp $
+# $NetBSD: Makefile,v 1.12 2011/10/16 20:33:35 bouyer Exp $
#
# VERSION is set in version.mk as it is shared with other packages
.include "version.mk"
@@ -26,6 +26,9 @@ PKG_DESTDIR_SUPPORT= user-destdir
# XXX add version check: Xen requires dev86 >= 0.16.14
BUILD_DEPENDS+= dev86-[0-9]*:../../devel/dev86 # needed to build firmware
BUILD_DEPENDS+= ocaml-findlib-[0-9]*:../../devel/ocaml-findlib
+.if !exists(/usr/bin/iasl)
+BUILD_DEPENDS+= acpica-utils-[0-9]*:../../sysutils/acpica-utils
+.endif
PKG_SYSCONFSUBDIR= xen