On Sat, May 07, 2016 at 06:45:26AM +0200, Shankar Giri Venkita Giri wrote: > There are basically two issues on FreeBSD. > > Issue #1. Standard Includes and Libs are in /usr/local/include and / > usr/local/lib unline Linux variants. --with-extra-prefix=/usr/local > solves this problem. FreeBSD Ports build system exports LOCALBASE to > /usr/local and so this problem does not occur when building from > ports. When building from source directly, --with-extra-prefix is > necessary > Issue #2. -lexecinfo is needed for backtrace() on FreeBSD (https:// > github.com/pelegm/google-glog/issues/214) - Patch attached.
Since you tested it, I think patch for #2 should go in to both master/branch. > 1. Other BSDs certainly should have Issue #1, but probably need to > check with other NetBSD, OpenBSD, DragonflyBSD users for Issue #2. > Then the patch can be generalized to *BSD*. Agreed, but this is really their call, I don't think any active dev is currently running NetBSD, OpenBSD, DragonflyBSD to test that. > 2. Do we patch code for Issue #1 or just add README.BSD and document > the --with-extra-prefix=/usr/local argument? If you can produce nice enough patch, we will include it. Otherwise I would include it into RELEASE-NOTES, section with Known issues. > 3. We can either patch in LyX or just ignore it and file a ticket in > the FreeBSD ports system so that they add the patch in their build > process. I prefer LyX to compile independent of build systems > applying patches during building (that allows working and compiling > git code directly), but its the community's call. Agreed, but we rely on you to helps us with it. Pavel