[MacPorts] #40044: Add port for liblightgrep
MacPorts
noreply at macports.org
Thu Aug 8 12:26:42 PDT 2013
#40044: Add port for liblightgrep
------------------------------+--------------------------------
Reporter: jessekornblum@… | Owner: macports-tickets@…
Type: submission | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.0
Resolution: | Keywords:
Port: |
------------------------------+--------------------------------
Comment (by larryv@…):
Replying to [comment:3 jessekornblum@…]:
> Can you please point me to the documentation for specifying the
> compiler to use? I'm having trouble finding it.
There… uh… really isn’t any. There are a couple of wiki pages:
- PortfileRecipes#compiler
- UsingTheRightCompiler
The recipe is outdated; MacPorts 2.2 automatically adds the necessary
dependencies for compilers.
> The library requires gcc 4.6 or later. How do I force the configure
> command to use the latest version of gcc/g++ above 4.6?
Remove the build dependency on `port:gcc48` and add this:
{{{
compiler.whitelist macports-gcc-4.8 \
macports-gcc-4.7 \
macports-gcc-4.6
configure.args CC=${configure.cc} \
CXX=${configure.cxx}
}}}
--
Ticket URL: <https://trac.macports.org/ticket/40044#comment:4>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list