[75516] trunk/dports/devel/redo/Portfile
singingwolfboy at macports.org
singingwolfboy at macports.org
Thu Jan 27 13:50:42 PST 2011
Revision: 75516
http://trac.macports.org/changeset/75516
Author: singingwolfboy at macports.org
Date: 2011-01-27 13:50:42 -0800 (Thu, 27 Jan 2011)
Log Message:
-----------
redo: only rewrite shebang line to point to /opt/local/bin/python if user requests it, since /usr/bin/python works just fine and doesn't require python_select
Modified Paths:
--------------
trunk/dports/devel/redo/Portfile
Modified: trunk/dports/devel/redo/Portfile
===================================================================
--- trunk/dports/devel/redo/Portfile 2011-01-27 21:10:40 UTC (rev 75515)
+++ trunk/dports/devel/redo/Portfile 2011-01-27 21:50:42 UTC (rev 75516)
@@ -38,9 +38,7 @@
including jobserver compatibility with make -j\; \
oh, and you can write a plug-compatible toy implementation in 100 lines of shell.
-configure {
- eval reinplace "s|#!/usr/|#!${prefix}/|" [glob ${worksrcpath}/*]
-}
+use_configure no
build.cmd ${worksrcpath}/${name}
test.run yes
destroot.destdir ""
@@ -65,4 +63,9 @@
${destroot}${prefix}/etc/bash_completion.d/
}
}
+variant python_select description {Change shebang lines to use python_select symlink} {
+ configure {
+ eval reinplace "s|#!/usr/|#!${prefix}/|" [glob ${worksrcpath}/*]
+ }
+}
default_variants +doc +bash_completion
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110127/92ff860e/attachment.html>
More information about the macports-changes
mailing list