Summary: | sys-auth/libnss-cache has a bad makefile patch | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Nathan March <nathan> |
Component: | [OLD] Library | Assignee: | Michael Weber (RETIRED) <xmw> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Nathan March
2009-07-15 23:09:16 UTC
Ugh, additional error in this ebuild. The makefile doesn't actually run the nss_cache compile when you do an install. I fixed this by duplicating the emake line in the ebuild and switching the first one to nss_cache, like so: emake LIBDIR="$(get_libdir)" PREFIX=/ DESTDIR="${D}" nss_cache emake LIBDIR="$(get_libdir)" PREFIX=/ DESTDIR="${D}" install There's probably a nicer way to do this but this makes the ebuild actually work properly. There's no need to CC yourself when you're the reporter of a bug. You will receive mails on changes to this bug anyway. Makes sense =) Also not sure why I didn't think about this, but the emake line should just read: emake LIBDIR="$(get_libdir)" PREFIX=/ DESTDIR="${D}" nss_cache install The ebuild only installs files in /lib and not in /usr # qlist sys-auth/libnss-cache /lib/libnss_cache.so.2.0 /lib/libnss_cache.so.2 /lib/libnss_cache.so +*libnss-cache-0.1-r1 (15 Sep 2010) + + 15 Sep 2010; Michael Weber <xmw@gentoo.org> +libnss-cache-0.1-r1.ebuild, + +files/libnss-cache-0.1-r1-make-install.patch, metadata.xml: + Revbump to fix install locations (bug #277995, thanks Nathan March) and + LDFLAGS (bug #336554). + |