[MacPorts] #52589: atom 1.20.0: submission
MacPorts
noreply at macports.org
Fri Sep 15 14:36:27 UTC 2017
#52589: atom 1.20.0: submission
-------------------------+--------------------------------
Reporter: someuser12 | Owner: macports-tickets@…
Type: submission | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: atom |
-------------------------+--------------------------------
Comment (by raimue):
While you declared a dependency on python27, you also need to ensure the
build is actually using `python2.7` and not the plain `python` which could
be another selected version. That seems to be very deeply buried in the
build system, but according to the build instructions for Linux, it
respects `PYTHON` in the environment.
{{{
#!diff
--- Portfile 2017-09-15 16:35:12.000000000 +0200
+++ Portfile 2017-09-15 16:35:08.000000000 +0200
@@ -25,7 +25,8 @@
use_configure no
build.cmd script/build
build.env-append CC="${configure.cc} [get_canonical_archflags cc]" \
- CXX="${configure.cxx} [get_canonical_archflags cxx]"
+ CXX="${configure.cxx} [get_canonical_archflags cxx]"
\
+ PYTHON="${prefix}/bin/python2.7"
build.args-append --install-dir ${destroot}${applications_dir}/Atom.app
build.target-delete all
}}}
--
Ticket URL: <https://trac.macports.org/ticket/52589#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list