From dcf7d570aa6c624b34ca2662885129cffc1ee6fd Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Tue, 28 Jul 2015 21:31:22 +0000 Subject: - Fix shebangs Approved by: portmgr blanket MFH: 2015Q3 (blanket) --- deskutils/virt-manager/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'deskutils/virt-manager') diff --git a/deskutils/virt-manager/Makefile b/deskutils/virt-manager/Makefile index 916b6dd5aabe..6a6c14958de0 100644 --- a/deskutils/virt-manager/Makefile +++ b/deskutils/virt-manager/Makefile @@ -2,7 +2,7 @@ PORTNAME= virt-manager PORTVERSION= 1.1.0 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= deskutils net-mgmt MASTER_SITES= http://virt-manager.org/download/sources/${PORTNAME}/ \ LOCAL/jgh/deskutils/${PORTNAME}/ @@ -27,7 +27,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dbus>=0.83.2:${PORTSDIR}/devel/py-dbus \ PYDISTUTILS_INSTALLNOSINGLE= yes PYDISTUTILS_CONFIGURE_TARGET= configure PYDISTUTILS_CONFIGUREARGS= --prefix=${PREFIX} -USES= python:2.7 gettext shebangfix +USES= python:2.7 gettext shebangfix USE_PYTHON= autoplist distutils USE_GNOME= introspection:run intltool librsvg2 pygobject3 @@ -41,6 +41,9 @@ SHEBANG_FILES= virt-manager \ GLIB_SCHEMAS= org.virt-manager.virt-manager.gschema.xml +post-patch: + @${REINPLACE_CMD} -e '1s|/usr/bin/python2|${python_CMD}|' ${WRKSRC}/virt-xml + #add workaround for two autoplist functions post-install: @${MKDIR} ${STAGEDIR}/${PREFIX}/share/glib-2.0/schemas/ -- cgit v1.2.3