diff options
author | David Seifert <soap@gentoo.org> | 2021-05-15 00:13:04 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2021-05-15 00:13:04 +0200 |
commit | 6acc3193fef6ca39399fdc111546119f12474a7e (patch) | |
tree | bee8049e9ff77fb8156b430f8a31932bf7d9cee7 /sys-apps/nawk | |
parent | sys-apps/mlocate: drop 0.26-r2 (diff) | |
download | gentoo-6acc3193fef6ca39399fdc111546119f12474a7e.tar.gz gentoo-6acc3193fef6ca39399fdc111546119f12474a7e.tar.bz2 gentoo-6acc3193fef6ca39399fdc111546119f12474a7e.zip |
sys-apps/nawk: drop 20121220-r3
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sys-apps/nawk')
-rw-r--r-- | sys-apps/nawk/Manifest | 1 | ||||
-rw-r--r-- | sys-apps/nawk/files/nawk-20121220-parallel-build.patch | 61 | ||||
-rw-r--r-- | sys-apps/nawk/nawk-20121220-r3.ebuild | 61 |
3 files changed, 0 insertions, 123 deletions
diff --git a/sys-apps/nawk/Manifest b/sys-apps/nawk/Manifest index 935d6bbecdec..7c9c21c58ad8 100644 --- a/sys-apps/nawk/Manifest +++ b/sys-apps/nawk/Manifest @@ -1,2 +1 @@ -DIST nawk-20121220.tar.gz 88970 BLAKE2B e00b9e55bb3b9139c00b8cc0be3f6cea2acc1162ee4326103c054c7270ef4a29b97cdddc9a692cad0773a72a17c399d2da5453939681a5d2456f0b740b6bc2ee SHA512 1dd62e1aa4c8cfad7ce599b10d88e9b450ecae3217cf8327cc0f3ce77d0d0dcb731101b8f211066462d46dc4ef23e20ccd7f70d799d7d48940026abe8fa79d4f DIST nawk-20180827.tar.gz 1824076 BLAKE2B 4cfd000842d75d9a713fe73a85eefab33c17f9ecaca4f7f663d1157da411fd9fcf2badbf5180b4a90910445332095fe457e7acf0643621ac8a68da1a246b5e5f SHA512 cd6561149be71e6311aaa69c86b90ee4b29a057e5c2595470ccc8a41c40c653ec31b4bd46d7f58896d012f5fb5952103a76aa463a69e5128cba43d80eedf0b9b diff --git a/sys-apps/nawk/files/nawk-20121220-parallel-build.patch b/sys-apps/nawk/files/nawk-20121220-parallel-build.patch deleted file mode 100644 index ee6421c665ad..000000000000 --- a/sys-apps/nawk/files/nawk-20121220-parallel-build.patch +++ /dev/null @@ -1,61 +0,0 @@ ---- a/makefile 2013-02-06 10:26:36.452829647 -0700 -+++ b/makefile 2013-02-07 09:12:13.293898947 -0700 -@@ -44,7 +44,7 @@ - LISTING = awk.h proto.h awkgram.y lex.c b.c main.c maketab.c parse.c \ - lib.c run.c tran.c - --SHIP = README FIXES $(SOURCE) ytab[ch].bak makefile \ -+SHIP = README FIXES $(SOURCE) makefile \ - awk.1 - - a.out: ytab.o $(OFILES) -@@ -52,11 +52,15 @@ - - $(OFILES): awk.h ytab.h proto.h - --ytab.o: 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 -- $(CC) $(CFLAGS) -c ytab.c -+ mv y.$*.c y$*.c -+ mv y.$*.h y$*.h - - proctab.c: maketab - ./maketab >proctab.c -@@ -64,23 +68,23 @@ - maketab: ytab.h maketab.c - $(CC) $(CFLAGS) maketab.c -o maketab - --bundle: -+bundle: $(SHIP) - @cp ytab.h ytabh.bak - @cp ytab.c ytabc.bak -- @bundle $(SHIP) -+ @bundle $(SHIP) ytabh.bak ytabc.bak - --tar: -+tar: $(SHIP) - @cp ytab.h ytabh.bak - @cp ytab.c ytabc.bak - @bundle $(SHIP) >awk.shar -- @tar cf awk.tar $(SHIP) -+ @tar cf awk.tar $(SHIP) ytabh.bak ytabc.bak - gzip awk.tar - ls -l awk.tar.gz -- @zip awk.zip $(SHIP) -+ @zip awk.zip $(SHIP) ytabh.bak ytabc.bak - ls -l awk.zip - - names: - @echo $(LISTING) - - clean: -- rm -f a.out *.o *.obj maketab maketab.exe *.bb *.bbg *.da *.gcov *.gcno *.gcda # proctab.c -+ rm -f a.out *.o *.obj maketab maketab.exe *.bb *.bbg *.da *.gcov *.gcno *.gcda ytab.c ytab.h # proctab.c diff --git a/sys-apps/nawk/nawk-20121220-r3.ebuild b/sys-apps/nawk/nawk-20121220-r3.ebuild deleted file mode 100644 index 975fa8613209..000000000000 --- a/sys-apps/nawk/nawk-20121220-r3.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2021 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="mirror://gentoo/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux" - -RDEPEND=" - app-eselect/eselect-awk" - -DEPEND=" - ${RDEPEND} - virtual/yacc" - -S="${WORKDIR}" - -PATCHES=( "${FILESDIR}/${P}"-parallel-build.patch ) - -DOCS=( README FIXES ) - -src_prepare() { - default - rm -v ytab.[hc] || die -} - -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() { - eselect awk update ifunset -} - -pkg_postrm() { - eselect awk update ifunset -} |