On 12. 7. 2012, at 10:38, John Marino wrote:
Jonathan Perkin stated libelf dependency was added in January, so it's possible
you built glib2 before that and never hit the build problem.
Joern gave the history of libelf and glib2 problems:
http://gnats.netbsd.org/46478
The latest entry is 25 June where the libelf dependency was removed, but Wiz was unsure
if system libelf would get picked up. The answer is clearly, "yes, it will".
Yes, agreed, I had been building glib2 for years *before* the libelf dependency
was introduced. I guess my question really was *why* the libelf dependency was
introduced at all. glib2 has been building fine without it for me on
SunOS/SmartOS and it doesn't seem to even have *any* reference to libelf in its
source.
It was added by drochner to devel/glib2/Makefile in 1.199, and there's no clear
explanation on why. I'd just regard it as erroneous, unless someone can explain
on why it was needed.
-F