Opened 11 years ago
Last modified 9 years ago
#40044 closed submission
Add port for liblightgrep — at Version 6
Reported by: | jessekornblum@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.0 |
Keywords: | Cc: | egall@… | |
Port: | liblightgrep |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
liblightgrep is a library for searching data using regular expressions as defined in Unicode Technical Standard #18. There are lots of details, including a handy cheat sheet, at the project's homepage, http://www.lightboxtechnologies.com/lightgrep-engine.
I am willing to be the maintainer of this port.
Change History (7)
comment:1 Changed 11 years ago by cooljeanius (Eric Gallager)
comment:3 follow-ups: 4 5 Changed 11 years ago by jessekornblum@…
Can you please point me to the documentation for specifying the compiler to use? I'm having trouble finding it. 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?
thanks!
comment:4 Changed 11 years ago by larryv (Lawrence Velázquez)
Replying to 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:
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}
comment:5 Changed 11 years ago by larryv (Lawrence Velázquez)
Also disable the universal variant, since you’re using FSF GCC:
universal_variant no
(Unless you feel like adding the muniversal-1.0 PortGroup and hacking together a universal build manually.)
comment:6 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Port: | liblightgrep added |
First thing I notice: you should probably be using
compiler.blacklist
andcompiler.whitelist
instead of manually settingCC
andCXX
in the build environment.