Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 538634 - sys-apps/man-db-2.7.1: in Prefix, /usr/lib/tmpfiles.d/man-db.conf is installed outside EPREFIX
Summary: sys-apps/man-db-2.7.1: in Prefix, /usr/lib/tmpfiles.d/man-db.conf is installe...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: prefix-gx86
  Show dependency tree
 
Reported: 2015-02-03 10:02 UTC by Michael Haubenwallner (RETIRED)
Modified: 2015-02-16 09:35 UTC (History)
1 user (show)

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 Michael Haubenwallner (RETIRED) gentoo-dev 2015-02-03 10:02:16 UTC
Found these lines in configure:
  # The default is not prefix-sensitive, since systemd's prefix is not
  # necessarily the same as man-db's.
  with_systemdtmpfilesdir=/usr/lib/tmpfiles.d

So we better specify this explicitly:

--- man-db-2.7.1.ebuild 13 Jan 2015 14:31:25 -0000      1.2
+++ man-db-2.7.1.ebuild 3 Feb 2015 09:59:55 -0000
@@ -47,6 +47,7 @@
    export ac_cv_lib_z_gzopen=$(usex zlib)
    econf \
        --docdir='$(datarootdir)'/doc/${PF} \
+       --with-systemdtmpfilesdir="${EPREFIX}"/usr/lib/tmpfiles.d \
        --enable-setuid \
        --with-sections="1 1p 8 2 3 3p 4 5 6 7 9 0p tcl n l p o 1x 2x 3x 4x 5x 6x 7x 8x" \
        $(use_enable nls) \


Eventually this should use $(get_libdir) as well?

Thanks!
Comment 1 SpanKY gentoo-dev 2015-02-16 08:05:02 UTC
man that's terrible.  feel free to commit your change.

this path isn't ABI sensitive, so we don't want to use get_libdir.
Comment 2 Michael Haubenwallner (RETIRED) gentoo-dev 2015-02-16 09:35:36 UTC
Thanks!