Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 411199 - app-text/mupdf: libdir override ignored due to capitalization mismatch
Summary: app-text/mupdf: libdir override ignored due to capitalization mismatch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Michael Weber (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-07 21:08 UTC by Kevin Pyle
Modified: 2012-04-08 16:50 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Pyle 2012-04-07 21:08:09 UTC
In app-text/mupdf-0.9 and app-text/mupdf-1.0_rc1, the src_install emake tries to override the library directory to respect the result of $(get_libdir).  However, this is ignored, because the ebuild uses LIBDIR, where the upstream Makefile uses libdir.  Make variables are case sensitive, so the ebuild passes a variable that is never used, and has no effect on the variable that is used.  The easiest fix is to change the emake to pass libdir as lowercase, which matches the other variables that it overrides:

    emake prefix="${ED}usr" libdir="${ED}usr/$(get_libdir)" \
        build=debug verbose=true ${my_nox11} install
Comment 1 Michael Weber (RETIRED) gentoo-dev 2012-04-07 21:58:28 UTC
no luck with mupdf, today. just a second.
Comment 2 Michael Weber (RETIRED) gentoo-dev 2012-04-07 22:09:43 UTC
+  07 Apr 2012; Michael Weber <xmw@gentoo.org> mupdf-0.9.ebuild,
+  mupdf-0.9_p20120221.ebuild, mupdf-1.0_rc1.ebuild, mupdf-9999.ebuild:
+  Fix libdir parameter to emake install (bug 411199, thanks Kevin Pyle).
+
Comment 3 Kevin Pyle 2012-04-08 16:50:57 UTC
Thanks for the fast turnaround. :)

For what it is worth, that has been wrong for a long time. ;)  However, the libdir issue is mostly hidden if you use the standard layout of setting lib as a symlink to lib64.  I happened to look at mupdf in more detail yesterday due to the EAPI-related break, but someone had beat me to reporting that one.