diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-07-29 05:31:22 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-07-29 05:31:22 +0800 |
commit | 5905952a76ce81b02c431ae121e2617b5d25ca34 (patch) | |
tree | 91fef2a0a377a0938c074e0c0c1ccf867734e450 /deskutils | |
parent | ee7023f5056c99e43a87f9c61b1ca4bd882a6e58 (diff) | |
download | freebsd-ports-gnome-5905952a76ce81b02c431ae121e2617b5d25ca34.tar.gz freebsd-ports-gnome-5905952a76ce81b02c431ae121e2617b5d25ca34.tar.zst freebsd-ports-gnome-5905952a76ce81b02c431ae121e2617b5d25ca34.zip |
- Fix shebangs
Approved by: portmgr blanket
MFH: 2015Q3 (blanket)
Diffstat (limited to 'deskutils')
-rw-r--r-- | deskutils/virt-manager/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
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/ |