summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2024-11-16 14:42:26 +0100
committerAndreas K. Hüttel <dilfridge@gentoo.org>2024-11-16 14:43:20 +0100
commit9f6e8b884c567e676bdda30e3faaa79db068f3f4 (patch)
tree3bb2f08a1cfd11804b5f6d8f782867ab26bc3066 /app-admin
parentmail-filter/maildrop: add 3.1.8 (diff)
downloadgentoo-9f6e8b884c567e676bdda30e3faaa79db068f3f4.tar.gz
gentoo-9f6e8b884c567e676bdda30e3faaa79db068f3f4.tar.bz2
gentoo-9f6e8b884c567e676bdda30e3faaa79db068f3f4.zip
app-admin/pwcrypt: add eautoreconf
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 <dilfridge@gentoo.org>
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/pwcrypt/files/pwcrypt-eautoreconf.patch9
-rw-r--r--app-admin/pwcrypt/pwcrypt-1.2.2-r3.ebuild11
2 files changed, 17 insertions, 3 deletions
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
}