Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 259780 - media-libs/glfw-2.6 missing $(get_libdir), doesn't install pkg-config file
Summary: media-libs/glfw-2.6 missing $(get_libdir), doesn't install pkg-config file
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-21 02:53 UTC by Nathan Phillip Brink (binki) (RETIRED)
Modified: 2009-02-22 22:10 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
adds a $(get_libdir) and installation of libglfw.pc (bugs.gentoo.org.259780.patch,2.51 KB, patch)
2009-02-21 02:56 UTC, Nathan Phillip Brink (binki) (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nathan Phillip Brink (binki) (RETIRED) gentoo-dev 2009-02-21 02:53:46 UTC
problems:
1.
There is a line in the glfw-2.6.ebuild that says:
dosym libglfw.so.2.6 /usr/lib/libglfw.so
because I'm stubbornly refusing to link my /usr/lib to /usr/lib64, this results in a broken link /usr/lib/libglfw.so=>libglfw.so.2.6. This link should exist in /usr/lib64.

2.
The documentation installed with glfw-2.6 states that it supports pkg-config. The file lib/x11/Makefile.x11 can be used to generate libglfw.pc and a few doins in the ebuild can install it.

conclusion:
The ebuild seems to do a lot that the glfw Makefile should. The ebuild does a lot of work to avoid calling emake install. Of course, to support pkg-config, I had to add more to the ebuild which would be done by emake install. I guess this is an upstream issue, though.... Please see the to be attached patch.
Comment 1 Nathan Phillip Brink (binki) (RETIRED) gentoo-dev 2009-02-21 02:56:02 UTC
Created attachment 182700 [details, diff]
adds a $(get_libdir) and installation of libglfw.pc
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2009-02-22 22:10:52 UTC
in portage.  thanks for the bug report and patch.