When going to bump bluez-5.0 I found that setting systemd user unit directory is required to get it built (if I don't want to use a systemd USE flag to turn systemd support on/off). From: http://www.freedesktop.org/software/systemd/man/systemd.html Looks like I could use pkgconfig for getting it: User unit directories Similar rules apply for the user unit directories. However, here the XDG Base Directory specification is followed to find units. Applications should place their unit files in the directory returned by pkg-config systemd --variable=systemduserunitdir. Global configuration is done in the directory reported by pkg-config systemd --variable=systemduserconfdir. The enable and disable commands of the systemctl(1) tool can handle both global (i.e. for all users) and private (for one user) enabling/disabling of units. but that would require to use a systemd USE flag to pull it as DEPEND. Thanks for your help Reproducible: Always
Just to make it clear, you need userunitdir and not userconfdir, correct?
configure help says: --with-systemduserunitdir=DIR path to systemd user unit directory
Created attachment 333788 [details, diff] Patch to the eclass Please let me know if this patch is fine with you.
Works fine for me
/var/cvsroot/gentoo-x86/eclass/systemd.eclass,v <-- systemd.eclass new revision: 1.21; previous revision: 1.20 Here you are.