svn commit: r336474 - head/x11-fm/twander
William Grzybowski
wg at FreeBSD.org
Sat Dec 14 19:19:06 UTC 2013
Author: wg
Date: Sat Dec 14 19:19:06 2013
New Revision: 336474
URL: http://svnweb.freebsd.org/changeset/ports/336474
Log:
x11-fm/twander: fix usage of python
Reported by: exp-run (PR 184591)
Approved by: portmgr (blanket)
Modified:
head/x11-fm/twander/Makefile
Modified: head/x11-fm/twander/Makefile
==============================================================================
--- head/x11-fm/twander/Makefile Sat Dec 14 19:09:34 2013 (r336473)
+++ head/x11-fm/twander/Makefile Sat Dec 14 19:19:06 2013 (r336474)
@@ -27,4 +27,12 @@ post-install:
.endfor
.endif
+post-patch:
+ @${REINPLACE_CMD} \
+ -e 's|/usr/bin/env python|${PYTHON_CMD}|' \
+ ${WRKSRC}/twander.py
+ @${REINPLACE_CMD} \
+ -e 's|python |${PYTHON_CMD} |' \
+ ${WRKSRC}/Makefile
+
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list