summaryrefslogtreecommitdiff
path: root/devel/decompyle
diff options
context:
space:
mode:
Diffstat (limited to 'devel/decompyle')
-rw-r--r--devel/decompyle/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/devel/decompyle/Makefile b/devel/decompyle/Makefile
index 34b9bf2243dc..b1f06d2d079c 100644
--- a/devel/decompyle/Makefile
+++ b/devel/decompyle/Makefile
@@ -15,10 +15,11 @@ MAINTAINER= perky@FreeBSD.org
USE_PYTHON= yes
USE_PYDISTUTILS= yes
+USE_REINPLACE= yes
PLIST_SUB= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S,${LOCALBASE}/,,g}
post-patch:
- ${PERL} -pi -e 's,/usr/bin/env python2,${PYTHON_CMD},' \
+ ${REINPLACE_CMD} -e 's,/usr/bin/env python2,${PYTHON_CMD},' \
${WRKSRC}/scripts/decompyle
.include <bsd.port.mk>