diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2022-12-22 20:41:28 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2022-12-24 15:00:32 +0100 |
commit | d43c93c01f84d78d92eeb2b205a968280c353511 (patch) | |
tree | d61e7a09adf49dfe979102d190006338059c3b1b /sys-apps/nawk | |
parent | sys-apps/xinetd: drop 2.3.15.4 (diff) | |
download | gentoo-d43c93c01f84d78d92eeb2b205a968280c353511.tar.gz gentoo-d43c93c01f84d78d92eeb2b205a968280c353511.tar.bz2 gentoo-d43c93c01f84d78d92eeb2b205a968280c353511.zip |
sys-apps/nawk: drop 20180827-r1
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'sys-apps/nawk')
-rw-r--r-- | sys-apps/nawk/Manifest | 1 | ||||
-rw-r--r-- | sys-apps/nawk/files/nawk-20180827-parallel-build.patch | 35 | ||||
-rw-r--r-- | sys-apps/nawk/nawk-20180827-r1.ebuild | 59 |
3 files changed, 0 insertions, 95 deletions
diff --git a/sys-apps/nawk/Manifest b/sys-apps/nawk/Manifest index 604f743562d3..4473ee555171 100644 --- a/sys-apps/nawk/Manifest +++ b/sys-apps/nawk/Manifest @@ -1,2 +1 @@ -DIST nawk-20180827.tar.gz 1824076 BLAKE2B 4cfd000842d75d9a713fe73a85eefab33c17f9ecaca4f7f663d1157da411fd9fcf2badbf5180b4a90910445332095fe457e7acf0643621ac8a68da1a246b5e5f SHA512 cd6561149be71e6311aaa69c86b90ee4b29a057e5c2595470ccc8a41c40c653ec31b4bd46d7f58896d012f5fb5952103a76aa463a69e5128cba43d80eedf0b9b DIST nawk-20220122.tar.gz 1832761 BLAKE2B f704ff9cf5012545ec3adc1887c0d43625d7e38e19589cba91fe31f664e72ccce20dee3f2484067a31af793be16439c1389603fbdb33c119efeafb18559a0d97 SHA512 46ab7936705288c9cd22867ad9f5b080ade67c4b05d674304e0e5cae8ea329420a9a46e3578bf3a014b7066a1185b7506b0f74445bb52aafb1090e7a82a5bf28 diff --git a/sys-apps/nawk/files/nawk-20180827-parallel-build.patch b/sys-apps/nawk/files/nawk-20180827-parallel-build.patch deleted file mode 100644 index c6e3838313a0..000000000000 --- a/sys-apps/nawk/files/nawk-20180827-parallel-build.patch +++ /dev/null @@ -1,35 +0,0 @@ -From fa4a9fd729a57a314f0aa10897216ce3b60ec653 Mon Sep 17 00:00:00 2001 -From: Christoph Junghans <ottxor@gentoo.org> -Date: Mon, 10 Feb 2014 22:38:22 -0700 -Subject: [PATCH] fixed parallel build - ---- - makefile | 11 ++++++++--- - 1 file changed, 8 insertions(+), 3 deletions(-) - -diff --git a/makefile b/makefile -index ae80e4d..b3c8f9d 100644 ---- a/makefile -+++ b/makefile -@@ -54,10 +54,15 @@ a.out: ytab.o $(OFILES) - - $(OFILES): awk.h ytab.h proto.h - --ytab.c: awk.h proto.h awkgram.y -+#Clear dependency for parallel build: (make -j) -+#YACC generated y.tab.c and y.tab.h at the same time -+#this needs to be a static pattern rules otherwise multiple target -+#are mapped onto multiple executions of yacc, which overwrite -+#each others outputs. -+y%.c y%.h: awk.h proto.h awkgram.y - $(YACC) $(YFLAGS) awkgram.y -- mv y.tab.c ytab.c -- mv y.tab.h ytab.h -+ mv y.$*.c y$*.c -+ mv y.$*.h y$*.h - - ytab.h: ytab.c - --- -2.19.2 - diff --git a/sys-apps/nawk/nawk-20180827-r1.ebuild b/sys-apps/nawk/nawk-20180827-r1.ebuild deleted file mode 100644 index 6f8b40a63ab9..000000000000 --- a/sys-apps/nawk/nawk-20180827-r1.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit toolchain-funcs - -DESCRIPTION="Brian Kernighan's pattern scanning and processing language" -HOMEPAGE="https://www.cs.princeton.edu/~bwk/btl.mirror/" -SRC_URI="https://github.com/onetrueawk/awk/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux" - -DEPEND=" - app-alternatives/yacc -" - -S="${WORKDIR}/awk-${PV}" - -PATCHES=( "${FILESDIR}/${P}"-parallel-build.patch ) - -DOCS=( README FIXES ) - -src_compile() { - emake \ - CC="$(tc-getCC)" \ - CFLAGS="${CFLAGS}" \ - CPPFLAGS=-DHAS_ISBLANK \ - ALLOC="${LDFLAGS}" \ - YACC=$(type -p yacc) \ - YFLAGS="-d" -} - -src_install() { - newbin a.out "${PN}" - sed \ - -e 's/awk/nawk/g' \ - -e 's/AWK/NAWK/g' \ - -e 's/Awk/Nawk/g' \ - awk.1 > "${PN}".1 || die "manpage patch failed" - doman "${PN}.1" - einstalldocs -} - -pkg_postinst() { - if has_version app-admin/eselect && has_version app-eselect/eselect-awk - then - eselect awk update ifunset - fi -} - -pkg_postrm() { - if has_version app-admin/eselect && has_version app-eselect/eselect-awk - then - eselect awk update ifunset - fi -} |