summaryrefslogtreecommitdiff
path: root/sysutils/xentools41
diff options
context:
space:
mode:
authorbouyer <bouyer@pkgsrc.org>2011-10-16 20:33:35 +0000
committerbouyer <bouyer@pkgsrc.org>2011-10-16 20:33:35 +0000
commit744805a566be0740dd0f233039429ef8ceed7702 (patch)
tree58443f9e5746d217ab1ab6d135f8c9a971650ef9 /sysutils/xentools41
parentd6c1e34bddf6c4f1291a6217c4259bcd680bf2c6 (diff)
downloadpkgsrc-744805a566be0740dd0f233039429ef8ceed7702.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