I had trouble building x11/fireflies with the following output:
c++ -c -O2 -pipe -fno-omit-frame-pointer -fno-strict-aliasing -I/usr/local/include -I/usr/local/include/GL -I/usr/ports/x11/fireflies/work/fireflies-2.07/libgfx/include -DHAVE_CONFIG_H -I/usr/local/include gui.cxx
gui.cxx:16:32: error: FL/fl_file_chooser.H: No such file or directory
gui.cxx: In member function 'bool MxGUI::snapshot_to_file(int)':
gui.cxx:392: error: 'fl_file_chooser' was not declared in this scope
gui.cxx: In member function 'virtual bool MxGUI::save_view_to_file()':
gui.cxx:412: error: 'fl_file_chooser' was not declared in this scope
gui.cxx: In member function 'virtual bool MxGUI::load_view_from_file()':
gui.cxx:438: error: 'fl_file_chooser' was not declared in this scope
gmake: *** [gui.o] Error 1
gmake: Leaving directory `/usr/ports/x11/fireflies/work/fireflies-2.07/libgfx/src'
gmake: *** [libgfx/src/libgfx.a] Error 2
*** Error code 1
Stop in /usr/ports/x11/fireflies.
This patch will get it to build but does not change any dependency tracking after the build is done; I do not know if final package is impacted by x11-toolkits/fltk in a way that even needs different dependencies. The makefile should likery either add it as an (optional) dependency or the port should be modified to not build against fltk if it does impact final build to have a runtime dependency.
On another note, does the post extract section need more than 'xf' for flags? p is default, z is unneeded with our tar for extract, and v sounds like log bloat for all building this from the ports tree.
Fix: Patch attached with submission follows:
How-To-Repeat: Likely repeatable by installing x11-toolkits/fltk (1.3.0) before running a clean build of fireflies.
Maintainer of x11/fireflies,
Please note that PR ports/166055 has just been submitted.
If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.
The full text of the PR can be found at:
Edwin Groothuis via the GNATS Auto Assign Tool
Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Maintainer Timeout +30 days
I'll take it.
Committed, with minor changes. Thanks!
amdmi3 2012-05-13 00:52:49 UTC
FreeBSD ports repository
- Fix build in presence of FLTK (ignore FLTK, as it seems to be used in bundled libgfx functionality which is not used by fireflies itself)
- While here, make extract phase silent
Submitted by: Edward Sanford Sutton III <email@example.com>
Approved by: maintainer timeout
Revision Changes Path
1.11 +4 -1 ports/x11/fireflies/Makefile
firstname.lastname@example.org mailing list
To unsubscribe, send any mail to "email@example.com"