ldconfig -r does not show devel/sfml libraries
Anonymous
swell.k at gmail.com
Fri Jan 7 20:00:17 UTC 2011
David Demelier <demelier.david at gmail.com> writes:
> Hello,
>
> I'm writing a patch for emulators/visualboyadvance-m because it needs
> libsfml as LIB_DEPENDS and not only BUILD_DEPENDS.
>
> The problem is that ldconfig -r does not show the libsfml libraries so
Let's look at other lines in `ldconfig -r' output, e.g.
$ ldconfig -r | fgrep cairomm
185:-lcairomm-1.0.1 => /usr/local/lib/libcairomm-1.0.so.1
So, appling same logic to
LIB_DEPENDS = sfml-system.1.6:${PORTSDIR}/devel/sfml
it'd check libsfml-system.1.so.6 and not libsfml-system.so.1.6.
$ mv libsfml-system.so.1.6 libsfml-system.1.so.6
$ ldconfig -m /usr/local/lib
$ ldconfig -r | fgrep sfml
268:-lsfml-system.1.6 => /usr/pkg/lib/libsfml-system.1.so.6
$ make lib-depends
===> visualboyadvance-m-1.8.0r966 depends on shared library: png.6 - found
===> visualboyadvance-m-1.8.0r966 depends on shared library: sfml-system.1.6 - found
...
Try workaround in below diff, it uses -lsfml-system.1, though.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: a.diff
Type: text/x-patch
Size: 2500 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20110107/28db780f/a.bin
More information about the freebsd-ports
mailing list