summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorbouyer <bouyer>2011-10-16 20:33:35 +0000
committerbouyer <bouyer>2011-10-16 20:33:35 +0000
commit428fbde39c05b0bf7711710138d89513fad9dc40 (patch)
tree58443f9e5746d217ab1ab6d135f8c9a971650ef9 /sysutils
parent705470d5adbf5f13665e07a4c39a0bc0fc142c3a (diff)
downloadpkgsrc-428fbde39c05b0bf7711710138d89513fad9dc40.tar.gz
This needs iasl to build, so depend on acpica-utils if /usr/bin/iasl
doens't exist.
Diffstat (limited to 'sysutils')
-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