[MacPorts] #50953: gambit-c @4.7.6 Change compiler and add desirable ./configure option
MacPorts
noreply at macports.org
Wed Mar 30 18:25:01 PDT 2016
#50953: gambit-c @4.7.6 Change compiler and add desirable ./configure option
--------------------------+--------------------------------
Reporter: macports@… | Owner: macports-tickets@…
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.4
Resolution: | Keywords: haspatch
Port: gambit-c |
--------------------------+--------------------------------
Comment (by ryandesign@…):
In MacPorts, we typically use "cxx" (not "cpp") as a substitute for the
term "C++" in situations where the "+" symbol is not allowed, for example
port names and variant names. "cpp" typically means C pre-processor.
There is no need to manually add a dependency on gcc5; setting
`configure.compiler` to the desired compiler automatically adds the
required dependency.
If another version of gcc would also work, you should offer compiler
variants, using the compilers 1.0 portgroup, rather than forcing the use
of gcc5.
I still don't know that I approve of the change of compiler, for the
reasons stated, especially with regard to the C++ support added by the
variant. If users are going to use C++ code linked against gambit-c C++
code, then they absolutely must use the same C++ library; not doing so
will result in build failure. Forcing the user to use g++ instead of
clang++ might be problematic for some use cases.
I would also suggest that C++ support should be always-on. Why make it a
variant? Variants make it difficult for other ports to depend on that
feature.
--
Ticket URL: <https://trac.macports.org/ticket/50953#comment:4>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list