From 32156cf6c771986d9028d295cd0637ca121f6d4c Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Fri, 4 Apr 2014 13:40:54 +0000 Subject: [PATCH] Remove useless SHEBANG_LANG macro USE_PYTHON instead of the 2 _BUILD/_RUN macros --- devel/py-libvirt/Makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/devel/py-libvirt/Makefile b/devel/py-libvirt/Makefile index 4012af0317c0..61681dd23aa2 100644 --- a/devel/py-libvirt/Makefile +++ b/devel/py-libvirt/Makefile @@ -17,15 +17,13 @@ LICENSE= GPLv2 LIB_DEPENDS= libvirt.so:${PORTSDIR}/devel/libvirt USES= pkgconfig shebangfix -SHEBANG_LANG= python SHEBANG_FILES= generator.py sanitytest.py setup.py -USE_PYTHON_BUILD= yes -USE_PYTHON_RUN= yes +USE_PYTHON= yes USE_PYDISTUTILS= yes PYDISTUTILS_AUTOPLIST= yes -post-patch-script: +post-patch: @${REINPLACE_CMD} -e 's|"python"|"${PYTHON_CMD}"|g' \ ${WRKSRC}/setup.py