[114619] trunk/dports/devel/tortoisehg/Portfile
sean at macports.org
sean at macports.org
Wed Dec 11 15:56:19 PST 2013
Revision: 114619
https://trac.macports.org/changeset/114619
Author: sean at macports.org
Date: 2013-12-11 15:56:19 -0800 (Wed, 11 Dec 2013)
Log Message:
-----------
tortoisehg: fix python path
Modified Paths:
--------------
trunk/dports/devel/tortoisehg/Portfile
Modified: trunk/dports/devel/tortoisehg/Portfile
===================================================================
--- trunk/dports/devel/tortoisehg/Portfile 2013-12-11 23:56:18 UTC (rev 114618)
+++ trunk/dports/devel/tortoisehg/Portfile 2013-12-11 23:56:19 UTC (rev 114619)
@@ -44,6 +44,14 @@
post-patch {
reinplace "s|{prefix}|${prefix}|" ${worksrcpath}/tortoisehg/util/config.py
reinplace "s|{python.prefix}|${python.prefix}|" ${worksrcpath}/tortoisehg/util/config.py
+
+ foreach f [glob -type f \
+ ${worksrcpath}/thg \
+ ${worksrcpath}/contrib/hg \
+ ${worksrcpath}/contrib/*.py \
+ ${worksrcpath}/i18n/*.py] {
+ reinplace "s,#! */usr/bin/env python,#!${python.bin}," $f
+ }
}
python.link_binaries_suffix
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20131211/417c7997/attachment.html>
More information about the macports-changes
mailing list