diff options
Diffstat (limited to 'x11-misc')
-rw-r--r-- | x11-misc/xscreensaver/xscreensaver-6.01-r3.ebuild | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/x11-misc/xscreensaver/xscreensaver-6.01-r3.ebuild b/x11-misc/xscreensaver/xscreensaver-6.01-r3.ebuild index 10eae1bbfe28..fc75283e450c 100644 --- a/x11-misc/xscreensaver/xscreensaver-6.01-r3.ebuild +++ b/x11-misc/xscreensaver/xscreensaver-6.01-r3.ebuild @@ -125,8 +125,19 @@ src_prepare() { eapply_user # Must be eauto*re*conf, to force the rebuild + # it is NOT an entirely normal autoconf so there is weirdness! eautoreconf eautoheader + + # Afterwards, fix the linguas + # doesn't populate @install_sh@ properly + # https://bugs.gentoo.org/803479 + # requires LINGUAS to trigger + sed -i.orig \ + -e "/^install_sh = /s!=.*!= ${S}/install-sh!g" \ + "${S}/po/Makefile.in.in" || die + grep -e install_sh \ + "${S}/po/Makefile.in.in" || die } src_configure() { @@ -183,7 +194,8 @@ src_compile() { } src_install() { - emake install_prefix="${D}" install + use pam && dodir /etc/pam.d/ + emake install_prefix="${D}" DESTDIR="${D}" install if use fonts; then # Do not install fonts with unclear licensing @@ -200,6 +212,7 @@ src_install() { dodoc README{,.hacking} if use pam; then + rm -f "${ED}/etc/pam.d/xscreensaver" # install our version instead fperms 755 /usr/bin/${PN} pamd_mimic_system ${PN} auth fi |