diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-09-19 12:11:50 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-09-19 12:11:50 +0100 |
commit | fe0961fc9674dd24a017f474a34c1edbbd005965 (patch) | |
tree | dfdf05888e0f5fff9c1faafe6eb0dd5d827b63e5 /sys-devel/autogen | |
parent | bcd00c826070701606b0ccebf46234dfc792d3e9 (diff) |
gentoo auto-resync : 19:09:2024 - 12:11:50
Diffstat (limited to 'sys-devel/autogen')
-rw-r--r-- | sys-devel/autogen/Manifest | 1 | ||||
-rw-r--r-- | sys-devel/autogen/autogen-5.18.16-r100.ebuild | 85 |
2 files changed, 86 insertions, 0 deletions
diff --git a/sys-devel/autogen/Manifest b/sys-devel/autogen/Manifest index 9567fb79ea31..79d55d7d7977 100644 --- a/sys-devel/autogen/Manifest +++ b/sys-devel/autogen/Manifest @@ -8,6 +8,7 @@ AUX autogen-5.18.16-respect-TMPDIR.patch 824 BLAKE2B de70fb423955fc006ef10765ab5 AUX autogen-5.18.16-rpath.patch 2990 BLAKE2B 8374f788feee898f35f6baae40d0a42a0426b757572217bdfaefe8b3fc308e7c3b29d41a6dd4db77677c208702cd836ac58a463814624bc965b71c8b5613935b SHA512 3279567863152a2874d64be1cae8129dfaa9d67612e6f2d3c0de408914ea5b2d19e037ade460393fd942d897776906fe5df483a69255c4f279c13893a6cec1fd DIST autogen-5.18.16-gnulib-3b57ddee0acffd23cc51bc8910a15cf879f90619-lib-verify.h 11231 BLAKE2B 4f38f6ae84cf5cc4ba47d8a7da3b38b06f58e30ac8b70f2b10936cbb7a775179b67f22ca8e636588515c4ace7410f98835218e3222d4a793378cdafc4aa84d0f SHA512 b8ff80fd764a3f21040b0054e71a443e3d9ec18dd631843f2de999aa54776964b36366b35fd158dbbe5f2ece146fab12c6ff5008e18c52188b718c89972f867b DIST autogen-5.18.16.tar.xz 1046276 BLAKE2B 23f9e0948f24ada715fb2bcbbfecba768cf51d169ea3ff4724a97b18f598d2d7fb2ffa7e23919ec8dcc0e352f9d3280f3740dab279a0af1412919cf10c6cb0bf SHA512 5f12c982dbe27873f5649a96049bf019ff183c90cc0c8a9196556b0ca02e72940cd422f6d6601f68cc7d8763b1124f2765c3b1a6335fc92ba07f84b03d2a53a1 +EBUILD autogen-5.18.16-r100.ebuild 2414 BLAKE2B 93e24269d4ed7e38b112470a2e97ce4eef66c3928d3d21f4b644073d7b6402157054be804a535985be775b6df2f910a39ef93ce5afbc97ec321f0c6a5463a688 SHA512 b73ab37f5284d5202f59fc647c83107ec932f2e95e1fcd031cd75213dfd263757bafe87a24ac604e887a5758c42695b026a7e58b8e10076f68a77c4f32848c5b EBUILD autogen-5.18.16-r3.ebuild 2321 BLAKE2B 9c8bf2072d6c76e261d1f83eb361f118817328253c0e2df2d327c313c3f86265520534869c25494301d7fdb694575d1b4957222c5bce76fc4641d1e429a2b745 SHA512 81b7c723d1e37a37c98822dacb3a597f134c1d87128edd40d5effe1764538cfe63c63f17e347d212c28bfdd992f8c82582386087a24aedc2416c277c9e85b999 EBUILD autogen-5.18.16-r4.ebuild 2308 BLAKE2B d71e9838a0becaf92ccb1fa53fd8a926d96dc1a2c5f65532de326685265aff32249e92ecffa44bb8b7c5912826f6b0a09f24c281529d0ad4c29b005c05febc72 SHA512 372a512b35105b107cfa009f64c0147797a96104592521fad824f255b0d62be41a27c2a96b3d36a7821498981e3f631c52367d1b95e1e49e8283bd4156aacfc5 MISC metadata.xml 465 BLAKE2B d749ac3e74b39a006006e3f8d09ca2e8dd392f05385ffaf4d4d4cc95af4571c48e6ff6383e5f582ed6158d3536c9d9447c8f9587a8dc8ad9bce3ea3d5f8b2b5a SHA512 da4398891bf5ddd30545e5ca15b1591da5126d0ae22d00a5d5851864351c43465e6eac9010a9e35a029eb3009727fcd3264cb4fa87fd1f6545639f90b9cf2a47 diff --git a/sys-devel/autogen/autogen-5.18.16-r100.ebuild b/sys-devel/autogen/autogen-5.18.16-r100.ebuild new file mode 100644 index 000000000000..ca84c102bfb6 --- /dev/null +++ b/sys-devel/autogen/autogen-5.18.16-r100.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +GUILE_COMPAT=( 2-2 3-0 ) +inherit flag-o-matic autotools guile-single toolchain-funcs + +DESCRIPTION="Program and text file generation" +HOMEPAGE="https://www.gnu.org/software/autogen/" +SRC_URI=" + mirror://gnu/${PN}/rel${PV}/${P}.tar.xz + https://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=blob_plain;f=lib/verify.h;h=3b57ddee0acffd23cc51bc8910a15cf879f90619;hb=537a5511ab0b1326e69b32f87593a50aedb8a589 -> ${P}-gnulib-3b57ddee0acffd23cc51bc8910a15cf879f90619-lib-verify.h +" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="libopts static-libs" + +REQUIRED_USE="${GUILE_REQUIRED_USE}" + +RDEPEND=" + ${GUILE_DEPS} + dev-libs/libxml2 +" +DEPEND="${RDEPEND}" + +# We don't pass the flag explicitly, bug #796776. +# Let's fix it upstream after next autogen release if it happens. +QA_CONFIGURE_OPTIONS+=" --enable-snprintfv-convenience" + +QA_CONFIG_IMPL_DECL_SKIP+=( + # libgen.h is legacy and linux doesn't include -lgen nor nonstandard + # functions. bug #924961 + pathfind +) + +PATCHES=( + "${FILESDIR}"/${PN}-5.18.16-no-werror.patch + "${FILESDIR}"/${PN}-5.18.16-rpath.patch + "${FILESDIR}"/${PN}-5.18.16-respect-TMPDIR.patch + "${FILESDIR}"/${PN}-5.18.16-make-4.3.patch + "${FILESDIR}"/${PN}-5.18.16-guile-3.patch + "${FILESDIR}"/${PN}-5.18.16-configure-c99.patch + "${FILESDIR}"/${PN}-5.18.16-FORTIFY_SOURCE.patch + "${FILESDIR}"/${PN}-5.18.16-no-which.patch +) + +src_prepare() { + guile-single_src_prepare + + # missing tarball file + cp "${DISTDIR}"/${P}-gnulib-3b57ddee0acffd23cc51bc8910a15cf879f90619-lib-verify.h autoopts/verify.h || die + + # May be able to drop this on next release (>5.18.16) + eautoreconf +} + +src_configure() { + # suppress possibly incorrect -R flag + export ag_cv_test_ldflags= + + # autogen requires run-time sanity of regex and string functions. + # Use defaults of linux-glibc until we need somethig more advanced. + if tc-is-cross-compiler ; then + export ag_cv_run_strcspn=no + export libopts_cv_with_libregex=yes + fi + + # bug 920174 + use elibc_musl && append-cppflags -D_LARGEFILE64_SOURCE + + econf $(use_enable static-libs static) +} + +src_install() { + guile-single_src_install + + find "${ED}" -name '*.la' -delete || die + + if ! use libopts ; then + rm "${ED}"/usr/share/autogen/libopts-*.tar.gz || die + fi +} |