summaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorpat <pat@FreeBSD.org>2002-05-23 22:22:19 +0000
committerpat <pat@FreeBSD.org>2002-05-23 22:22:19 +0000
commitc54deb27de512ced04f48f48a6668977ece0ba70 (patch)
tree98f1cfa3d42d9e110ef8367f90d94ae0e31e508a /devel
parent1867be1cca9ad1c85464c55c45879a81062459e0 (diff)
downloadFreeBSD-ports-c54deb27de512ced04f48f48a6668977ece0ba70.zip
FreeBSD-ports-c54deb27de512ced04f48f48a6668977ece0ba70.tar.gz
back out commit made comparing OSVERSION and use sed(1) to workaround perl
on current issue. gotta back it out sooner or later. /me puts on pointy hat Requested by: many
Diffstat (limited to 'devel')
-rw-r--r--devel/decompyle/Makefile9
1 files changed, 1 insertions, 8 deletions
diff --git a/devel/decompyle/Makefile b/devel/decompyle/Makefile
index 207bf6f..8038a0d 100644
--- a/devel/decompyle/Makefile
+++ b/devel/decompyle/Makefile
@@ -17,15 +17,8 @@ USE_PYTHON= yes
USE_PYDISTUTILS= yes
PLIST_SUB= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S,${LOCALBASE}/,,g}
-.include <bsd.port.pre.mk>
-
post-patch:
-.if ${OSVERSION} < 500036
${PERL} -pi -e 's,/usr/bin/env python2,${PYTHON_CMD},' \
${WRKSRC}/scripts/decompyle
-.else
- ${SED} -i.orig -e 's,/usr/bin/env python2,${PYTHON_CMD},' \
- ${WRKSRC}/scripts/decompyle
-.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
OpenPOWER on IntegriCloud