From 9f6e8b884c567e676bdda30e3faaa79db068f3f4 Mon Sep 17 00:00:00 2001 From: "Andreas K. Hüttel" Date: Sat, 16 Nov 2024 14:42:26 +0100 Subject: app-admin/pwcrypt: add eautoreconf MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Also, doesnt use automake, so remove references to it from configure.in Closes: https://bugs.gentoo.org/905944 Signed-off-by: Andreas K. Hüttel --- app-admin/pwcrypt/files/pwcrypt-eautoreconf.patch | 9 +++++++++ app-admin/pwcrypt/pwcrypt-1.2.2-r3.ebuild | 11 ++++++++--- 2 files changed, 17 insertions(+), 3 deletions(-) create mode 100644 app-admin/pwcrypt/files/pwcrypt-eautoreconf.patch (limited to 'app-admin') diff --git a/app-admin/pwcrypt/files/pwcrypt-eautoreconf.patch b/app-admin/pwcrypt/files/pwcrypt-eautoreconf.patch new file mode 100644 index 000000000000..6b6733030077 --- /dev/null +++ b/app-admin/pwcrypt/files/pwcrypt-eautoreconf.patch @@ -0,0 +1,9 @@ +diff '--color=auto' -ruN pwcrypt-1.2.2.orig/configure.in pwcrypt-1.2.2/configure.in +--- pwcrypt-1.2.2.orig/configure.in 2003-10-07 23:18:49.000000000 +0200 ++++ pwcrypt-1.2.2/configure.in 2024-11-16 14:39:44.135876058 +0100 +@@ -1,5 +1,3 @@ +-AM_INIT_AUTOMAKE(cli-crypt,1.2.2) +-AM_PROG_CC_STDC + + dnl Process this file with autoconf to produce a configure script. + AC_INIT(src/main.c) diff --git a/app-admin/pwcrypt/pwcrypt-1.2.2-r3.ebuild b/app-admin/pwcrypt/pwcrypt-1.2.2-r3.ebuild index 8d3b90ef4689..836bf6934c10 100644 --- a/app-admin/pwcrypt/pwcrypt-1.2.2-r3.ebuild +++ b/app-admin/pwcrypt/pwcrypt-1.2.2-r3.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="8" -inherit toolchain-funcs +inherit toolchain-funcs autotools DESCRIPTION="An improved version of cli-crypt (encrypts data sent to it from the cli)" HOMEPAGE="http://xjack.org/pwcrypt/" @@ -16,7 +16,11 @@ KEYWORDS="amd64 ppc x86" RDEPEND="virtual/libcrypt:=" DEPEND="${RDEPEND}" -PATCHES=( "${FILESDIR}"/${PN}-gcc-10.patch ) +PATCHES=( + "${FILESDIR}"/${PN}-gcc-10.patch + "${FILESDIR}"/${PN}-eautoreconf.patch +) + DOCS=( CREDITS README ) src_prepare() { @@ -29,4 +33,5 @@ src_prepare() { src/Makefile.in || die tc-export CC + eautoreconf } -- cgit v1.2.3-65-gdbad