summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2021-07-25 09:07:51 +0200
committerUlrich Müller <ulm@gentoo.org>2021-07-25 09:07:51 +0200
commit4bc0d6dbbda9ba1edb52d90a5320f83ef8d61a68 (patch)
tree0cbfb454b4e6cee4fa62ff86a2b7b96abd6bc794 /x11-misc
parentx11-misc/xscreensaver: packaging fix for LINGUAS & pam.d false positive error (diff)
downloadgentoo-4bc0d6dbbda9ba1edb52d90a5320f83ef8d61a68.tar.gz
gentoo-4bc0d6dbbda9ba1edb52d90a5320f83ef8d61a68.tar.bz2
gentoo-4bc0d6dbbda9ba1edb52d90a5320f83ef8d61a68.zip
x11-misc/xscreensaver: Replace src_prepare weirdness
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 <ulm@gentoo.org>
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/xscreensaver/files/xscreensaver-6.01-configure-install_sh.patch12
-rw-r--r--x11-misc/xscreensaver/xscreensaver-6.01-r3.ebuild14
2 files changed, 14 insertions, 12 deletions
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() {