aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormva <mva@FreeBSD.org>2013-12-15 22:14:52 +0800
committermva <mva@FreeBSD.org>2013-12-15 22:14:52 +0800
commit8815bd33a9434b6dbf3db2d87d0bafdba832f6ca (patch)
tree735cd8d65b132ed2c3642e2881f557ae66481852
parent242b77501aaf874c793386f44507e138960c1cc6 (diff)
downloadfreebsd-ports-gnome-8815bd33a9434b6dbf3db2d87d0bafdba832f6ca.tar.gz
freebsd-ports-gnome-8815bd33a9434b6dbf3db2d87d0bafdba832f6ca.tar.zst
freebsd-ports-gnome-8815bd33a9434b6dbf3db2d87d0bafdba832f6ca.zip
- Fix the usage of 'python' to get rid of the implicit lang/python
dependency Reported by: exp-run (PR 184591) Approved by: portmgr (blanket)
-rw-r--r--graphics/nathive/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/nathive/Makefile b/graphics/nathive/Makefile
index e7d0ea2c35e4..5e859c5e3d63 100644
--- a/graphics/nathive/Makefile
+++ b/graphics/nathive/Makefile
@@ -31,7 +31,8 @@ NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e '/BASE =/ s|=.*|= ${PREFIX}/|; \
- s|cp -r \([^ ]*\)/|cp -R \1|' ${WRKSRC}/${MAKEFILE}
+ s|cp -r \([^ ]*\)/|cp -R \1|; \
+ s|python |${PYTHON_CMD} |' ${WRKSRC}/${MAKEFILE}
@${REINPLACE_CMD} -e 's|/usr/share/nathive|${DATADIR}|' \
${WRKSRC}/${PORTNAME}.desktop
.if ! ${PORT_OPTIONS:MDOCS}