aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authormva <mva@FreeBSD.org>2013-11-26 02:44:35 +0800
committermva <mva@FreeBSD.org>2013-11-26 02:44:35 +0800
commit3ff0e1c945f6e3a2c546d2c4ab32d40f1e6bce83 (patch)
tree7902aa686c1f113c478fbd97531324649af4aba0 /devel
parentfd0f7f536b1aaee0c1331871dea87021ba54a44b (diff)
downloadfreebsd-ports-gnome-3ff0e1c945f6e3a2c546d2c4ab32d40f1e6bce83.tar.gz
freebsd-ports-gnome-3ff0e1c945f6e3a2c546d2c4ab32d40f1e6bce83.tar.zst
freebsd-ports-gnome-3ff0e1c945f6e3a2c546d2c4ab32d40f1e6bce83.zip
- Fix the usage of 'python' to get rid of the implicit lang/python
dependency Approved by: David Gilbert <ports2@dclg.ca> (maintainer)
Diffstat (limited to 'devel')
-rw-r--r--devel/py-kqueue/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/devel/py-kqueue/Makefile b/devel/py-kqueue/Makefile
index 91daf57a569e..174145290fe5 100644
--- a/devel/py-kqueue/Makefile
+++ b/devel/py-kqueue/Makefile
@@ -23,7 +23,9 @@ NO_STAGE= yes
.include <bsd.port.pre.mk>
post-patch:
- @${REINPLACE_CMD} -e 's,@DEFS@,,' ${WRKSRC}/Makefile.pre.in
+ @${REINPLACE_CMD} -e 's,@DEFS@,,' \
+ -e 's,^PYTHON=\(.*\)python,PYTHON=\1${PYTHON_CMD},' \
+ ${WRKSRC}/Makefile.pre.in
do-configure:
@(cd ${WRKSRC} && \