1 |
commit: 78a8211dcda0a866326f6ee99cc4c5da1a40fed4 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jul 30 09:40:07 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jul 30 09:40:07 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78a8211d |
7 |
|
8 |
sys-devel/autoconf: drop runstatedir patch for 2.69 |
9 |
|
10 |
It's confusing when sending patches upstream and we've had 2.71 |
11 |
for a while now. |
12 |
|
13 |
Closes: https://bugs.gentoo.org/806376 |
14 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
15 |
|
16 |
sys-devel/autoconf/autoconf-2.69-r6.ebuild | 62 ++++++++++++++++++++++++++++++ |
17 |
1 file changed, 62 insertions(+) |
18 |
|
19 |
diff --git a/sys-devel/autoconf/autoconf-2.69-r6.ebuild b/sys-devel/autoconf/autoconf-2.69-r6.ebuild |
20 |
new file mode 100644 |
21 |
index 000000000000..83a875983898 |
22 |
--- /dev/null |
23 |
+++ b/sys-devel/autoconf/autoconf-2.69-r6.ebuild |
24 |
@@ -0,0 +1,62 @@ |
25 |
+# Copyright 1999-2022 Gentoo Authors |
26 |
+# Distributed under the terms of the GNU General Public License v2 |
27 |
+ |
28 |
+EAPI=7 |
29 |
+ |
30 |
+if [[ ${PV} == 9999 ]] ; then |
31 |
+ EGIT_REPO_URI="https://git.savannah.gnu.org/git/autoconf.git" |
32 |
+ inherit git-r3 |
33 |
+else |
34 |
+ SRC_URI="mirror://gnu/${PN}/${P}.tar.xz |
35 |
+ ftp://alpha.gnu.org/pub/gnu/${PN}/${P}.tar.xz |
36 |
+ https://dev.gentoo.org/~polynomial-c/dist/${P}-runstatedir_patches.tar.xz" |
37 |
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
38 |
+fi |
39 |
+ |
40 |
+inherit toolchain-autoconf |
41 |
+ |
42 |
+DESCRIPTION="Used to create autoconfiguration files" |
43 |
+HOMEPAGE="https://www.gnu.org/software/autoconf/autoconf.html" |
44 |
+ |
45 |
+LICENSE="GPL-3" |
46 |
+SLOT="${PV}" |
47 |
+IUSE="emacs" |
48 |
+ |
49 |
+BDEPEND=" |
50 |
+ >=sys-devel/m4-1.4.16 |
51 |
+ >=dev-lang/perl-5.6 |
52 |
+" |
53 |
+RDEPEND=" |
54 |
+ ${BDEPEND} |
55 |
+ >=sys-devel/autoconf-wrapper-13 |
56 |
+ !~sys-devel/${P}:2.5 |
57 |
+" |
58 |
+ |
59 |
+[[ ${PV} == 9999 ]] && BDEPEND+=" >=sys-apps/texinfo-4.3" |
60 |
+ |
61 |
+PDEPEND="emacs? ( app-emacs/autoconf-mode )" |
62 |
+ |
63 |
+PATCHES=( |
64 |
+ "${FILESDIR}"/${PN}-2.69-perl-5.26.patch |
65 |
+ "${FILESDIR}"/${P}-fix-libtool-test.patch |
66 |
+ "${FILESDIR}"/${PN}-2.69-perl-5.26-2.patch |
67 |
+ "${FILESDIR}"/${P}-make-tests-bash5-compatible.patch |
68 |
+ |
69 |
+ "${WORKDIR}"/patches/${P}-texinfo.patch |
70 |
+) |
71 |
+ |
72 |
+src_prepare() { |
73 |
+ # usr/bin/libtool is provided by binutils-apple, need gnu libtool |
74 |
+ if [[ ${CHOST} == *-darwin* ]] ; then |
75 |
+ PATCHES+=( "${FILESDIR}"/${PN}-2.61-darwin.patch ) |
76 |
+ fi |
77 |
+ |
78 |
+ # Save timestamp to avoid later makeinfo call |
79 |
+ touch -r doc/{,old_}autoconf.texi || die |
80 |
+ |
81 |
+ toolchain-autoconf_src_prepare |
82 |
+ |
83 |
+ # Restore timestamp to avoid makeinfo call |
84 |
+ # We already have an up to date autoconf.info page at this point. |
85 |
+ touch -r doc/{old_,}autoconf.texi || die |
86 |
+} |