From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E5DB01392E8 for ; Sun, 25 Jul 2021 07:08:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DE420E0986; Sun, 25 Jul 2021 07:08:12 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 11225E0986 for ; Sun, 25 Jul 2021 07:08:12 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 87875335E2E for ; Sun, 25 Jul 2021 07:08:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C6EAC7B2 for ; Sun, 25 Jul 2021 07:08:08 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1627196871.4bc0d6dbbda9ba1edb52d90a5320f83ef8d61a68.ulm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/xscreensaver/, x11-misc/xscreensaver/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-misc/xscreensaver/files/xscreensaver-6.01-configure-install_sh.patch x11-misc/xscreensaver/xscreensaver-6.01-r3.ebuild X-VCS-Directories: x11-misc/xscreensaver/ x11-misc/xscreensaver/files/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 4bc0d6dbbda9ba1edb52d90a5320f83ef8d61a68 X-VCS-Branch: master Date: Sun, 25 Jul 2021 07:08:08 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 420aceda-a682-4e76-a878-745919941873 X-Archives-Hash: 028053c8323b7e8ba02b76a54266ae07 commit: 4bc0d6dbbda9ba1edb52d90a5320f83ef8d61a68 Author: Ulrich Müller gentoo org> AuthorDate: Sun Jul 25 07:07:51 2021 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Sun Jul 25 07:07:51 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4bc0d6db 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 gentoo.org> .../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(-) 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 00000000000..490e32f6817 --- /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 fc75283e450..609e6c132c7 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() {