summaryrefslogtreecommitdiff
path: root/lang/python27
diff options
context:
space:
mode:
Diffstat (limited to 'lang/python27')
-rw-r--r--lang/python27/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/python27/Makefile b/lang/python27/Makefile
index 5d1c9ab05908..6eb6abdcdf98 100644
--- a/lang/python27/Makefile
+++ b/lang/python27/Makefile
@@ -116,11 +116,11 @@ post-patch:
# readline shared library is present on base before FreeBSD 11 - r268461
# force setup.py ignore base and use readline from ports
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100000
- ${REINPLACE_CMD} -e \
+ @${REINPLACE_CMD} -e \
"s|lib_dirs,\ \'readline\'|[\'${LOCALBASE}/lib\',\ \'.\'],\ \'readline\'|" \
${WRKSRC}/setup.py
.endif
- ${REINPLACE_CMD} -e 's|/usr/local/bin/python|${python_CMD}|' \
+ @${REINPLACE_CMD} -e 's|/usr/local/bin/python|${python_CMD}|' \
${WRKSRC}/Lib/cgi.py
@${REINPLACE_CMD} -e \
's,/usr/doc/python-docs-,${PREFIX}/share/doc/python,g' \