summaryrefslogtreecommitdiff
path: root/sysutils/xentools41/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/xentools41/Makefile')
-rw-r--r--sysutils/xentools41/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/sysutils/xentools41/Makefile b/sysutils/xentools41/Makefile
index 87afc43b638..dd2af54e2d9 100644
--- a/sysutils/xentools41/Makefile
+++ b/sysutils/xentools41/Makefile
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.2 2011/04/06 10:03:01 cegger Exp $
+# $NetBSD: Makefile,v 1.3 2011/04/15 10:32:22 bouyer Exp $
#
VERSION= 4.1.0
DISTNAME= xen-${VERSION}
PKGNAME= xentools41-${VERSION}
-#PKGREVISION= 1
+PKGREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://bits.xensource.com/oss-xen/release/${VERSION}/
EXTRACT_SUFX= .tar.gz
@@ -97,6 +97,8 @@ SUBST_SED.conf= -e "s,@XENDCONFDIR@,${PKG_SYSCONFDIR},g"
.include "../../mk/bsd.prefs.mk"
+XEND_SCRIPTS= block vif-bridge vif-ip qemu-ifup
+
.if ${OPSYS} == "NetBSD"
SUBST_CLASSES+= proc
SUBST_STAGE.proc= pre-configure
@@ -122,6 +124,11 @@ CONF_FILES= ${EGDIR}/xend-config.sxp \
OWN_DIRS= ${PKG_SYSCONFDIR}/scripts ${VARBASE}/log/xen ${VARBASE}/lib
+.for s in ${XEND_SCRIPTS}
+CONF_FILES_PERMS+= ${EGDIR}/scripts/${s} ${PKG_SYSCONFDIR}/scripts/${s} \
+ ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 0755
+.endfor
+
pre-build:
rm -f ${WRKSRC}/check/check_x11_devel
.for s in ${BLKTAP_FILES}