As the title says, "pkg add" does not create the links from $PREFIX/lib/.mesa/lib* to $PREFIX/lib/lib* as "pkg install" does.
After some more testing it seems that even if I use pkg -r . install ./libGL-11.1.2.txz it does not link. Maybe it's not related to "pkg add" but more to the "-r" option to install to different root..
Thanks for your report. Please supply the output of `pkg info pkg`.
libGL-11.1.2 OpenGL library that renders using GLX or DRI libglesv2-11.1.2 OpenGL ES v2 library libEGL-11.1.2 OpenEGL library There's a discussion going on about this on the mailing list.. I could solve it by mounting devfs and use -c (chroot instead. Although, this requires me to move all packages into the chroot and then move them back. Would be nice if -r could be used.
This probably affects many more packages as well. For example xfce4 didn't render properly (images and icons not rendered) at all when installing with -r.
the ports tree is not ready at all for pkg -r pkg -r implies that all scripts knows about PKG_ROOTDIR variable and most of the ports tree is clearly not PKG_ROOTDIR aware yet.
btw this is not a pkg bug, this is the ports tree that is not yet fully aware of the feature
Forgotten to close?