* [gentoo-commits] repo/gentoo:master commit in: sys-apps/nawk/, sys-apps/nawk/files/
@ 2017-05-22 21:41 Patrice Clement
0 siblings, 0 replies; 2+ messages in thread
From: Patrice Clement @ 2017-05-22 21:41 UTC (permalink / raw
To: gentoo-commits
commit: 46f220fb076f0ff07fb6c57f2b6d705ea20397b0
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Mon May 22 21:41:42 2017 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Mon May 22 21:41:42 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46f220fb
sys-apps/nawk: EAPI 6 bump.
Package-Manager: Portage-2.3.3, Repoman-2.3.1
.../nawk/files/nawk-20121220-parallel-build.patch | 4 +-
sys-apps/nawk/nawk-20121220-r3.ebuild | 62 ++++++++++++++++++++++
2 files changed, 64 insertions(+), 2 deletions(-)
diff --git a/sys-apps/nawk/files/nawk-20121220-parallel-build.patch b/sys-apps/nawk/files/nawk-20121220-parallel-build.patch
index 45a3e5624a4..ee6421c665a 100644
--- a/sys-apps/nawk/files/nawk-20121220-parallel-build.patch
+++ b/sys-apps/nawk/files/nawk-20121220-parallel-build.patch
@@ -1,5 +1,5 @@
---- makefile.orig 2013-02-06 10:26:36.452829647 -0700
-+++ makefile 2013-02-07 09:12:13.293898947 -0700
+--- 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
diff --git a/sys-apps/nawk/nawk-20121220-r3.ebuild b/sys-apps/nawk/nawk-20121220-r3.ebuild
new file mode 100644
index 00000000000..a52e72d09b2
--- /dev/null
+++ b/sys-apps/nawk/nawk-20121220-r3.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2017 Gentoo Foundation
+# 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="http://cm.bell-labs.com/cm/cs/awkbook/index.html"
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-macos"
+
+RDEPEND="
+ app-eselect/eselect-awk
+ !sys-freebsd/freebsd-ubin"
+
+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
+}
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-apps/nawk/, sys-apps/nawk/files/
@ 2021-05-14 22:14 David Seifert
0 siblings, 0 replies; 2+ messages in thread
From: David Seifert @ 2021-05-14 22:14 UTC (permalink / raw
To: gentoo-commits
commit: 6acc3193fef6ca39399fdc111546119f12474a7e
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Fri May 14 22:13:04 2021 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Fri May 14 22:13:04 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6acc3193
sys-apps/nawk: drop 20121220-r3
Signed-off-by: David Seifert <soap <AT> gentoo.org>
sys-apps/nawk/Manifest | 1 -
.../nawk/files/nawk-20121220-parallel-build.patch | 61 ----------------------
sys-apps/nawk/nawk-20121220-r3.ebuild | 61 ----------------------
3 files changed, 123 deletions(-)
diff --git a/sys-apps/nawk/Manifest b/sys-apps/nawk/Manifest
index 935d6bbecde..7c9c21c58ad 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 ee6421c665a..00000000000
--- 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 975fa861320..00000000000
--- 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
-}
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-05-14 22:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-22 21:41 [gentoo-commits] repo/gentoo:master commit in: sys-apps/nawk/, sys-apps/nawk/files/ Patrice Clement
-- strict thread matches above, loose matches on Subject: below --
2021-05-14 22:14 David Seifert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox