From 4bc0d6dbbda9ba1edb52d90a5320f83ef8d61a68 Mon Sep 17 00:00:00 2001 From: Ulrich Müller Date: Sun, 25 Jul 2021 09:07:51 +0200 Subject: x11-misc/xscreensaver: Replace src_prepare weirdness MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add an AM_PROG_INSTALL_SH line to configure.ac instead. Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Ulrich Müller --- .../files/xscreensaver-6.01-configure-install_sh.patch | 12 ++++++++++++ x11-misc/xscreensaver/xscreensaver-6.01-r3.ebuild | 14 ++------------ 2 files changed, 14 insertions(+), 12 deletions(-) create mode 100644 x11-misc/xscreensaver/files/xscreensaver-6.01-configure-install_sh.patch (limited to 'x11-misc') diff --git a/x11-misc/xscreensaver/files/xscreensaver-6.01-configure-install_sh.patch b/x11-misc/xscreensaver/files/xscreensaver-6.01-configure-install_sh.patch new file mode 100644 index 000000000000..490e32f68177 --- /dev/null +++ b/x11-misc/xscreensaver/files/xscreensaver-6.01-configure-install_sh.patch @@ -0,0 +1,12 @@ +https://bugs.gentoo.org/803479 + +--- a/configure.ac ++++ b/configure.ac +@@ -1062,6 +1062,7 @@ + AC_PROG_INSTALL + AC_PROG_INSTALL_DIRS + AC_PROG_MAKE_SET ++AM_PROG_INSTALL_SH + + # By default, autoconf sets INSTALL_SCRIPT to '${INSTALL_PROGRAM}'. + # That's wrong: it should be set to '${INSTALL}', so that one can diff --git a/x11-misc/xscreensaver/xscreensaver-6.01-r3.ebuild b/x11-misc/xscreensaver/xscreensaver-6.01-r3.ebuild index fc75283e450c..609e6c132c7f 100644 --- a/x11-misc/xscreensaver/xscreensaver-6.01-r3.ebuild +++ b/x11-misc/xscreensaver/xscreensaver-6.01-r3.ebuild @@ -2,6 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 + inherit autotools flag-o-matic font multilib optfeature pam DESCRIPTION="modular screen saver and locker for the X Window System" @@ -87,6 +88,7 @@ PATCHES=( "${FILESDIR}"/${PN}-6.01-without-gl-makefile.patch "${FILESDIR}"/${PN}-6.01-non-gtk-install.patch "${FILESDIR}"/${PN}-6.01-gtk-detection.patch + "${FILESDIR}"/${PN}-6.01-configure-install_sh.patch ) src_prepare() { @@ -125,19 +127,7 @@ 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() { -- cgit v1.2.3-65-gdbad