[Poppler-bugs] [Bug 103211] cmake: don't hardcode libdir

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Nov 5 18:24:04 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=103211

--- Comment #5 from ilovezfs at icloud.com ---
Unfortunately this has the side-effect of breaking the pkg-config files for
everyone else who isn't explicitly setting CMAKE_INSTALL_LIBDIR and
CMAKE_INSTALL_INCLUDEDIR. The reason is that rather than ending up with

libdir=${exec_prefix}/lib
includedir=${prefix}/include

instead, by default, you get

libdir=lib
includedir=include

I expect 0.61.0 will be a bit of a mess from a downstream packaging perspective
as a result.

In Homebrew, while working on the 0.61.0 upgrade pull request, I just had to
puzzle around over why none of the reverse dependencies would build until I
found that the pkg-config files were broken and traced it back here. Multiply
that by every other downstream and you get the picture.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/poppler-bugs/attachments/20171105/b7ab4cf0/attachment.html>


More information about the Poppler-bugs mailing list