commit:     97800e2351de3c3bdb694acbcb71965ec3686c98
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 27 10:44:51 2018 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Wed Jun 27 10:45:44 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97800e23

sys-apps/gawk: Removed old.

Package-Manager: Portage-2.3.41, Repoman-2.3.9

 sys-apps/gawk/Manifest                             |   3 -
 sys-apps/gawk/files/filefuncs/Makefile             |  56 ---
 sys-apps/gawk/files/filefuncs/filefuncs.c          | 484 ---------------------
 .../files/gawk-4.1.3-bsd_configure_readline.patch  |  63 ---
 sys-apps/gawk/gawk-4.0.2.ebuild                    |  73 ----
 sys-apps/gawk/gawk-4.1.3.ebuild                    |  72 ---
 sys-apps/gawk/gawk-4.2.0.ebuild                    |  83 ----
 sys-apps/gawk/gawk-4.2.1.ebuild                    |  83 ----
 8 files changed, 917 deletions(-)

diff --git a/sys-apps/gawk/Manifest b/sys-apps/gawk/Manifest
index f59e171ea94..bd74f33aff2 100644
--- a/sys-apps/gawk/Manifest
+++ b/sys-apps/gawk/Manifest
@@ -1,5 +1,2 @@
-DIST gawk-4.0.2.tar.xz 1626808 BLAKE2B 
f66ebc3650c7288d46ed4548f07c83cbd591873a5d364965d6768e6455f64334cb03cb91e83a110d5edaa917c7fed714cf66154cea5c0ec22ef982429ad03265
 SHA512 
069f68b6792521d94d4003764006ad8fbe9a17c60a88212629204d9a5eb3f662903fff6d91dd3c1834597b76c18f9d3231c93a033f456c59c0571ac13eb77b27
-DIST gawk-4.1.3.tar.xz 2311268 BLAKE2B 
956872ef3c8bdf27ccf9c3f7f158f161f42bb8607af7f966e843e24cb4e4e89380cd05a3169157cc822ea5ce8d849993b952795ecd0ecf14213f0bdd689d1b16
 SHA512 
8b9470a1bba397353f10e4e652e8589a637a49e8235fb39ca7681ae662fd27cd140c193d0634179c800f99e19b0e49aef55dfa6612f9695ba80760a36936a1c3
 DIST gawk-4.1.4.tar.xz 2367832 BLAKE2B 
67004e2867e4c4f43aac7142a52c83642d8bb3b0a5451293418bc15e575a8ed1d97c0a975e084bf46ffd1c27dc70e48de492cd2e007773622ef14886b9269ee1
 SHA512 
6a0e9cf086544212f54b54261dcd517b611aaf495ef99c4b7740d07e363bb00c5632f3d7fd5e12a954d5aa9793764162a57453e0e18884b29c6c54b5f444c097
-DIST gawk-4.2.0.tar.xz 2948108 BLAKE2B 
6e46b70480184edd3a70bcea2b4e4448b4dfbac317be6e1a6d9225bc6c0b42abe49fe9380231cb3fc87efd449d2c5232ac7099b4c4472c3815a52200ef0013a3
 SHA512 
3076b2f42e43fff0ce63dcaa3fb749ce421473d0abc3e1e2d9dd375207d3e35c98d5bf91c3179f49156e8a4977424c16bb2d3d662846ad487153729dd4cfeb4c
 DIST gawk-4.2.1.tar.xz 2985412 BLAKE2B 
ea0635904ae8af8943d545b21affbfad64de5a688a615e22e1af2634583d0002094c0668c3260837184f965452ccf84141fff705bbf42d55b6d55c7516c24d8b
 SHA512 
0e3006a795dc3ac91359a7d2590c0cccbfd39b18a1d491617d68505c55a2800355b1439050681b4fcacf65fb0d533151a046babe0fd774503037bab363ef2ae4

diff --git a/sys-apps/gawk/files/filefuncs/Makefile 
b/sys-apps/gawk/files/filefuncs/Makefile
deleted file mode 100644
index 498793805c0..00000000000
--- a/sys-apps/gawk/files/filefuncs/Makefile
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# Author:  Martin Schlemmer <aza...@gentoo.org>
-
-CC ?= gcc
-LD = $(CC)
-
-MAJORVER = 0
-MINORVER = 0.1
-
-AWKINCDIR = /usr/include/awk
-DESTDIR =
-
-TARGET = filefuncs
-TARGET_LIB = $(TARGET).so.$(MAJORVER).$(MINORVER)
-
-LIBDIR = lib
-
-# Gentoo specific cruft, you like it dont ya idiot
-ifdef D
-DESTDIR = $(D)
-endif
-ifdef S
-AWKINCDIR = $(S)
-endif
-
-DOIT = yes
-ifeq ($(USERLAND),Darwin)
-DOIT = no
-endif
-
-ifeq ($(DOIT),yes)
-
-all: $(TARGET_LIB)
-
-$(TARGET).o: $(TARGET).c
-       $(CC) $(CFLAGS) $(CPPFLAGS) -shared -Wall -DHAVE_CONFIG_H -c -O2 -fPIC 
-I$(AWKINCDIR) $^
-
-$(TARGET_LIB): $(TARGET).o
-       $(LD) $(LDFLAGS) -o $@ -shared -Wl,-soname -Wl,$(TARGET).so.$(MAJORVER) 
$^
-
-install: $(TARGET_LIB)
-       install -m 0755 -d $(DESTDIR)/$(LIBDIR)/rcscripts
-       install -m 0755 $(TARGET_LIB) $(DESTDIR)/$(LIBDIR)/rcscripts
-       ln -s $(TARGET_LIB) 
$(DESTDIR)/$(LIBDIR)/rcscripts/$(TARGET).so.$(MAJORVER)
-       ln -s $(TARGET_LIB) $(DESTDIR)/$(LIBDIR)/rcscripts/$(TARGET).so
-
-clean:
-       rm -f $(TARGET)
-       rm -f *.o *~ core
-
-else
-
-all install clean:
-
-endif

diff --git a/sys-apps/gawk/files/filefuncs/filefuncs.c 
b/sys-apps/gawk/files/filefuncs/filefuncs.c
deleted file mode 100644
index 04c9db7fe10..00000000000
--- a/sys-apps/gawk/files/filefuncs/filefuncs.c
+++ /dev/null
@@ -1,484 +0,0 @@
-/*
- * filefuncs.c - Builtin functions that provide initial minimal iterface
- *              to the file system.
- *
- * Arnold Robbins, update for 3.1, Mon Nov 23 12:53:39 EST 1998
- */
-
-/*
- * Copyright (C) 2001 the Free Software Foundation, Inc.
- * 
- * This file is part of GAWK, the GNU implementation of the
- * AWK Programming Language.
- * 
- * GAWK is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- * 
- * GAWK is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- * 
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA
- */
-
-/*
- * Copyright 1999-2004 Gentoo Foundation
- * Distributed under the terms of the GNU General Public License v2
- * Author:  Martin Schlemmer <aza...@gentoo.org>, Nov 2002
- * 
- * Extended with: do_symlink()
- *                do_unlink()
- *                do_mkdir()
- *                do_rmdir()
- *
- * for use in the Gentoo rcscripts
- *
- */
-
-#include "awk.h"
-
-#include <unistd.h>
-
-/*  do_chdir --- provide dynamically loaded chdir() builtin for gawk */
-
-static NODE *
-do_chdir(tree)
-NODE *tree;
-{
-       NODE *newdir;
-       int ret = -1;
-
-       if  (do_lint && tree->param_cnt > 1)
-               lintwarn("chdir: called with too many arguments");
-
-       newdir = get_argument(tree, 0);
-       if (newdir != NULL) {
-               (void) force_string(newdir);
-               ret = chdir(newdir->stptr);
-               if (ret < 0)
-                       update_ERRNO();
-
-               free_temp(newdir);
-       } else if (do_lint)
-               lintwarn("chdir: called with no arguments");
-
-
-       /* Set the return value */
-       set_value(tmp_number((AWKNUM) ret));
-
-       /* Just to make the interpreter happy */
-       return tmp_number((AWKNUM) 0);
-}
-
-/*  do_symlink --- provide dynamically loaded symlink() builtin for gawk */
-
-static NODE *
-do_symlink(tree)
-NODE *tree;
-{
-       NODE *oldpath, *newpath;
-       int ret = -1;
-
-       if (do_lint && tree->param_cnt > 2)
-               lintwarn("symlink: called with too many arguments");
-
-       oldpath = get_argument(tree, 0);
-       newpath = get_argument(tree, 1);
-       if ((oldpath != NULL) && (newpath)) {
-               (void) force_string(oldpath);
-               (void) force_string(newpath);
-               ret = symlink(oldpath->stptr, newpath->stptr);
-               if (ret < 0)
-                       update_ERRNO();
-
-               free_temp(oldpath);
-               free_temp(newpath);
-       } else if (do_lint)
-               lintwarn("symlink: called with not enough arguments");
-       
-       /* Set the return value */
-       set_value(tmp_number((AWKNUM) ret));
-       
-       /* Just to make the interpreter happy */
-       return tmp_number((AWKNUM) 0);  
-}
-
-/* do_unlink --- provide dynamically loaded unlink() builtin for gawk */
-
-static NODE *
-do_unlink(tree)
-NODE *tree;
-{
-       NODE *pathname;
-       int ret = -1;
-
-       if (do_lint && tree->param_cnt > 1)
-               lintwarn("unlink: called with too many arguments");
-
-       pathname = get_argument(tree, 0);
-       if (pathname != NULL) {
-               (void) force_string(pathname);
-               ret = unlink(pathname->stptr);
-               if (ret < 0)
-                       update_ERRNO();
-
-               free_temp(pathname);
-       } else if (do_lint)
-               lintwarn("unlink: called with no arguments");
-
-       /* Set the return value */
-       set_value(tmp_number((AWKNUM) ret));
-
-       /* Just to make the interpreter happy */
-       return tmp_number((AWKNUM) 0);
-}
-
-/* do_mkdir --- provide dynamically loaded mkdir() builtin for gawk */
-
-static NODE *
-do_mkdir(tree)
-NODE *tree;
-{
-       NODE *pathname, *mode;
-       int ret = -1;
-
-       if (do_lint && tree->param_cnt > 2)
-               lintwarn("mkdir: called with too many arguments");
-
-       pathname = get_argument(tree, 0);
-       mode = get_argument(tree, 1);
-       if ((pathname != NULL) && (mode != NULL)) {
-               (void) force_string(pathname);
-               (void) force_number(mode);
-               ret = mkdir(pathname->stptr, mode->numbr);
-               if (ret < 0)
-                       update_ERRNO();
-
-               free_temp(pathname);
-               free_temp(mode);
-       } else if (do_lint)
-               lintwarn("mkdir: called with not enough arguments");
-
-       /* Set the return value */
-       set_value(tmp_number((AWKNUM) ret));
-
-       /* Just to make the interpreter happy */
-       return tmp_number((AWKNUM) 0);
-}
-
-/* do_rmdir --- provide dynamically loaded rmdir() builtin for gawk */
-
-static NODE *
-do_rmdir(tree)
-NODE *tree;
-{
-       NODE *pathname;
-       int ret = -1;
-
-       if (do_lint && tree->param_cnt > 1)
-               lintwarn("rmdir: called with too many arguments");
-
-       pathname = get_argument(tree, 0);
-       if (pathname != NULL) {
-               (void) force_string(pathname);
-               ret = rmdir(pathname->stptr);
-               if (ret < 0)
-                       update_ERRNO();
-
-               free_temp(pathname);
-       } else if (do_lint)
-               lintwarn("rmdir: called with no arguments");
-
-       /* Set the return value */
-       set_value(tmp_number((AWKNUM) ret));
-
-       /* Just to make the interpreter happy */
-       return tmp_number((AWKNUM) 0);
-}
-
-/* format_mode --- turn a stat mode field into something readable */
-
-static char *
-format_mode(fmode)
-unsigned long fmode;
-{
-       static char outbuf[12];
-       int i;
-
-       strcpy(outbuf, "----------");
-       /* first, get the file type */
-       i = 0;
-       switch (fmode & S_IFMT) {
-#ifdef S_IFSOCK
-       case S_IFSOCK:
-               outbuf[i] = 's';
-               break;
-#endif
-#ifdef S_IFLNK
-       case S_IFLNK:
-               outbuf[i] = 'l';
-               break;
-#endif
-       case S_IFREG:
-               outbuf[i] = '-';        /* redundant */
-               break;
-       case S_IFBLK:
-               outbuf[i] = 'b';
-               break;
-       case S_IFDIR:
-               outbuf[i] = 'd';
-               break;
-#ifdef S_IFDOOR        /* Solaris weirdness */
-       case S_IFDOOR:
-               outbuf[i] = 'D';
-               break;
-#endif /* S_IFDOOR */
-       case S_IFCHR:
-               outbuf[i] = 'c';
-               break;
-#ifdef S_IFIFO
-       case S_IFIFO:
-               outbuf[i] = 'p';
-               break;
-#endif
-       }
-
-       i++;
-       if ((fmode & S_IRUSR) != 0)
-               outbuf[i] = 'r';
-       i++;
-       if ((fmode & S_IWUSR) != 0)
-               outbuf[i] = 'w';
-       i++;
-       if ((fmode & S_IXUSR) != 0)
-               outbuf[i] = 'x';
-       i++;
-
-       if ((fmode & S_IRGRP) != 0)
-               outbuf[i] = 'r';
-       i++;
-       if ((fmode & S_IWGRP) != 0)
-               outbuf[i] = 'w';
-       i++;
-       if ((fmode & S_IXGRP) != 0)
-               outbuf[i] = 'x';
-       i++;
-
-       if ((fmode & S_IROTH) != 0)
-               outbuf[i] = 'r';
-       i++;
-       if ((fmode & S_IWOTH) != 0)
-               outbuf[i] = 'w';
-       i++;
-       if ((fmode & S_IXOTH) != 0)
-               outbuf[i] = 'x';
-       i++;
-
-       outbuf[i] = '\0';
-
-       if ((fmode & S_ISUID) != 0) {
-               if (outbuf[3] == 'x')
-                       outbuf[3] = 's';
-               else
-                       outbuf[3] = 'S';
-       }
-
-       /* setgid without execute == locking */
-       if ((fmode & S_ISGID) != 0) {
-               if (outbuf[6] == 'x')
-                       outbuf[6] = 's';
-               else
-                       outbuf[6] = 'l';
-       }
-
-       if ((fmode & S_ISVTX) != 0) {
-               if (outbuf[9] == 'x')
-                       outbuf[9] = 't';
-               else
-                       outbuf[9] = 'T';
-       }
-
-       return outbuf;
-}
-
-/* do_stat --- provide a stat() function for gawk */
-
-static NODE *
-do_stat(tree)
-NODE *tree;
-{
-       NODE *file, *array;
-       struct stat sbuf;
-       int ret;
-       NODE **aptr;
-       char *pmode;    /* printable mode */
-       char *type = "unknown";
-
-       /* check arg count */
-       if (tree->param_cnt != 2)
-               fatal(
-       "stat: called with incorrect number of arguments (%d), should be 2",
-                       tree->param_cnt);
-
-       /* directory is first arg, array to hold results is second */
-       file = get_argument(tree, 0);
-       array = get_argument(tree, 1);
-
-       /* empty out the array */
-       assoc_clear(array);
-
-       /* lstat the file, if error, set ERRNO and return */
-       (void) force_string(file);
-       ret = lstat(file->stptr, & sbuf);
-       if (ret < 0) {
-               update_ERRNO();
-
-               set_value(tmp_number((AWKNUM) ret));
-
-               free_temp(file);
-               return tmp_number((AWKNUM) 0);
-       }
-
-       /* fill in the array */
-       aptr = assoc_lookup(array, tmp_string("name", 4), FALSE);
-       *aptr = dupnode(file);
-
-       aptr = assoc_lookup(array, tmp_string("dev", 3), FALSE);
-       *aptr = make_number((AWKNUM) sbuf.st_dev);
-
-       aptr = assoc_lookup(array, tmp_string("ino", 3), FALSE);
-       *aptr = make_number((AWKNUM) sbuf.st_ino);
-
-       aptr = assoc_lookup(array, tmp_string("mode", 4), FALSE);
-       *aptr = make_number((AWKNUM) sbuf.st_mode);
-
-       aptr = assoc_lookup(array, tmp_string("nlink", 5), FALSE);
-       *aptr = make_number((AWKNUM) sbuf.st_nlink);
-
-       aptr = assoc_lookup(array, tmp_string("uid", 3), FALSE);
-       *aptr = make_number((AWKNUM) sbuf.st_uid);
-
-       aptr = assoc_lookup(array, tmp_string("gid", 3), FALSE);
-       *aptr = make_number((AWKNUM) sbuf.st_gid);
-
-       aptr = assoc_lookup(array, tmp_string("size", 4), FALSE);
-       *aptr = make_number((AWKNUM) sbuf.st_size);
-
-       aptr = assoc_lookup(array, tmp_string("blocks", 6), FALSE);
-       *aptr = make_number((AWKNUM) sbuf.st_blocks);
-
-       aptr = assoc_lookup(array, tmp_string("atime", 5), FALSE);
-       *aptr = make_number((AWKNUM) sbuf.st_atime);
-
-       aptr = assoc_lookup(array, tmp_string("mtime", 5), FALSE);
-       *aptr = make_number((AWKNUM) sbuf.st_mtime);
-
-       aptr = assoc_lookup(array, tmp_string("ctime", 5), FALSE);
-       *aptr = make_number((AWKNUM) sbuf.st_ctime);
-
-       /* for block and character devices, add rdev, major and minor numbers */
-       if (S_ISBLK(sbuf.st_mode) || S_ISCHR(sbuf.st_mode)) {
-               aptr = assoc_lookup(array, tmp_string("rdev", 4), FALSE);
-               *aptr = make_number((AWKNUM) sbuf.st_rdev);
-
-               aptr = assoc_lookup(array, tmp_string("major", 5), FALSE);
-               *aptr = make_number((AWKNUM) major(sbuf.st_rdev));
-
-               aptr = assoc_lookup(array, tmp_string("minor", 5), FALSE);
-               *aptr = make_number((AWKNUM) minor(sbuf.st_rdev));
-       }
-
-#ifdef HAVE_ST_BLKSIZE
-       aptr = assoc_lookup(array, tmp_string("blksize", 7), FALSE);
-       *aptr = make_number((AWKNUM) sbuf.st_blksize);
-#endif /* HAVE_ST_BLKSIZE */
-
-       aptr = assoc_lookup(array, tmp_string("pmode", 5), FALSE);
-       pmode = format_mode(sbuf.st_mode);
-       *aptr = make_string(pmode, strlen(pmode));
-
-       /* for symbolic links, add a linkval field */
-       if (S_ISLNK(sbuf.st_mode)) {
-               char buf[BUFSIZ*2];
-               int linksize;
-
-               linksize = readlink(file->stptr, buf, sizeof buf);
-               /* should make this smarter */
-               if (linksize == sizeof(buf))
-                       fatal("size of symbolic link too big");
-               buf[linksize] = '\0';
-
-               aptr = assoc_lookup(array, tmp_string("linkval", 7), FALSE);
-               *aptr = make_string(buf, linksize);
-       }
-
-       /* add a type field */
-       switch (sbuf.st_mode & S_IFMT) {
-#ifdef S_IFSOCK
-       case S_IFSOCK:
-               type = "socket";
-               break;
-#endif
-#ifdef S_IFLNK
-       case S_IFLNK:
-               type = "symlink";
-               break;
-#endif
-       case S_IFREG:
-               type = "file";
-               break;
-       case S_IFBLK:
-               type = "blockdev";
-               break;
-       case S_IFDIR:
-               type = "directory";
-               break;
-#ifdef S_IFDOOR
-       case S_IFDOOR:
-               type = "door";
-               break;
-#endif
-       case S_IFCHR:
-               type = "chardev";
-               break;
-#ifdef S_IFIFO
-       case S_IFIFO:
-               type = "fifo";
-               break;
-#endif
-       }
-
-       aptr = assoc_lookup(array, tmp_string("type", 4), FALSE);
-       *aptr = make_string(type, strlen(type));
-
-       free_temp(file);
-
-       /* Set the return value */
-       set_value(tmp_number((AWKNUM) ret));
-
-       /* Just to make the interpreter happy */
-       return tmp_number((AWKNUM) 0);
-}
-
-/* dlload --- load new builtins in this library */
-
-NODE *
-dlload(tree, dl)
-NODE *tree;
-void *dl;
-{
-       make_builtin("chdir", do_chdir, 1);
-       make_builtin("symlink", do_symlink, 2);
-       make_builtin("unlink", do_unlink, 1);
-       make_builtin("mkdir", do_mkdir, 2);
-       make_builtin("rmdir", do_rmdir, 1);
-       make_builtin("stat", do_stat, 2);
-
-       return tmp_number((AWKNUM) 0);
-}
-

diff --git a/sys-apps/gawk/files/gawk-4.1.3-bsd_configure_readline.patch 
b/sys-apps/gawk/files/gawk-4.1.3-bsd_configure_readline.patch
deleted file mode 100644
index 3bd267efd17..00000000000
--- a/sys-apps/gawk/files/gawk-4.1.3-bsd_configure_readline.patch
+++ /dev/null
@@ -1,63 +0,0 @@
-http://git.savannah.gnu.org/cgit/gawk.git/commit/?id=ac0ef52fe407b89c7968b927c7b2b513cc13963a
-
---- gawk-4.1.3/configure       2015-05-19 15:38:35.000000000 +0200
-+++ gawk-4.1.3/configure       2015-05-19 15:38:35.000000000 +0200
-@@ -10825,7 +10825,46 @@
- 
-         if test $_found_readline = yes ; then
-          case $host_os in
--         *bsd* )      _combo="$_combo -ltermcap"
-+         *bsd* )      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 
tgetent in -ltermcap" >&5
-+$as_echo_n "checking for tgetent in -ltermcap... " >&6; }
-+if ${ac_cv_lib_termcap_tgetent+:} false; then :
-+  $as_echo_n "(cached) " >&6
-+else
-+  ac_check_lib_save_LIBS=$LIBS
-+LIBS="-ltermcap  $LIBS"
-+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-+/* end confdefs.h.  */
-+
-+/* Override any GCC internal prototype to avoid an error.
-+   Use char because int might match the return type of a GCC
-+   builtin and then its argument prototype would still apply.  */
-+#ifdef __cplusplus
-+extern "C"
-+#endif
-+char tgetent ();
-+int
-+main ()
-+{
-+return tgetent ();
-+  ;
-+  return 0;
-+}
-+_ACEOF
-+if ac_fn_c_try_link "$LINENO"; then :
-+  ac_cv_lib_termcap_tgetent=yes
-+else
-+  ac_cv_lib_termcap_tgetent=no
-+fi
-+rm -f core conftest.err conftest.$ac_objext \
-+    conftest$ac_exeext conftest.$ac_ext
-+LIBS=$ac_check_lib_save_LIBS
-+fi
-+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_termcap_tgetent" 
>&5
-+$as_echo "$ac_cv_lib_termcap_tgetent" >&6; }
-+if test "x$ac_cv_lib_termcap_tgetent" = xyes; then :
-+  _combo="$_combo -ltermcap"
-+fi
-+
-                ;;
-          esac
- 
---- gawk-4.1.3/m4/readline.m4  2015-04-05 12:19:19.000000000 +0200
-+++ gawk-4.1.3/m4/readline.m4  2015-04-05 12:19:19.000000000 +0200
-@@ -92,7 +92,7 @@
- 
-         if test $_found_readline = yes ; then
-          case $host_os in
--         *bsd* )      _combo="$_combo -ltermcap"
-+         *bsd* )      AC_CHECK_LIB(termcap, tgetent, _combo="$_combo 
-ltermcap")
-                ;;
-          esac
-            AC_DEFINE(HAVE_LIBREADLINE,1,

diff --git a/sys-apps/gawk/gawk-4.0.2.ebuild b/sys-apps/gawk/gawk-4.0.2.ebuild
deleted file mode 100644
index 4108ca1c6ef..00000000000
--- a/sys-apps/gawk/gawk-4.0.2.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="4"
-
-inherit eutils toolchain-funcs multilib
-
-DESCRIPTION="GNU awk pattern-matching language"
-HOMEPAGE="https://www.gnu.org/software/gawk/gawk.html";
-SRC_URI="mirror://gnu/gawk/${P}.tar.xz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc 
x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux 
~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris 
~x64-solaris ~x86-solaris"
-IUSE="nls readline"
-
-# older gawk's provided shared lib for baselayout-1
-RDEPEND="!<sys-apps/baselayout-2.0.1
-       readline? ( sys-libs/readline )"
-DEPEND="${RDEPEND}
-       nls? ( sys-devel/gettext )"
-
-src_prepare() {
-       # use symlinks rather than hardlinks, and disable version links
-       sed -i \
-               -e '/^LN =/s:=.*:= $(LN_S):' \
-               -e '/install-exec-hook:/s|$|\nfoo:|' \
-               Makefile.in doc/Makefile.in
-       sed -i '/^pty1:$/s|$|\n_pty1:|' test/Makefile.in #413327
-}
-
-src_configure() {
-       export ac_cv_libsigsegv=no
-       econf \
-               --libexec='$(libdir)/misc' \
-               $(use_enable nls) \
-               $(use_with readline)
-}
-
-src_install() {
-       emake install DESTDIR="${D}" || die
-
-       # Install headers
-       insinto /usr/include/awk
-       doins *.h || die
-       rm "${ED}"/usr/include/awk/config.h || die
-
-       dodoc AUTHORS ChangeLog FUTURES LIMITATIONS NEWS PROBLEMS POSIX.STD 
README README_d/*.*
-       for x in */ChangeLog ; do
-               newdoc ${x} ${x##*/}.${x%%/*}
-       done
-}
-
-pkg_postinst() {
-       # symlink creation here as the links do not belong to gawk, but to any 
awk
-       if has_version app-admin/eselect \
-                       && has_version app-eselect/eselect-awk ; then
-               eselect awk update ifunset
-       else
-               local l
-               for l in "${EROOT}"usr/share/man/man1/gawk.1* 
"${EROOT}"usr/bin/gawk; do
-                       [[ -e ${l} && ! -e ${l/gawk/awk} ]] && ln -s "${l##*/}" 
"${l/gawk/awk}"
-               done
-               [[ ! -e ${EROOT}bin/awk ]] && ln -s "../usr/bin/gawk" 
"${EROOT}bin/awk"
-       fi
-}
-
-pkg_postrm() {
-       if has_version app-admin/eselect \
-                       && has_version app-eselect/eselect-awk ; then
-               eselect awk update ifunset
-       fi
-}

diff --git a/sys-apps/gawk/gawk-4.1.3.ebuild b/sys-apps/gawk/gawk-4.1.3.ebuild
deleted file mode 100644
index 26bb3ec3627..00000000000
--- a/sys-apps/gawk/gawk-4.1.3.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-inherit eutils toolchain-funcs multilib
-
-DESCRIPTION="GNU awk pattern-matching language"
-HOMEPAGE="https://www.gnu.org/software/gawk/gawk.html";
-SRC_URI="mirror://gnu/gawk/${P}.tar.xz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc 
x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux 
~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris 
~x64-solaris ~x86-solaris"
-IUSE="mpfr nls readline"
-
-RDEPEND="mpfr? ( dev-libs/mpfr:0= )
-       readline? ( sys-libs/readline:0= )"
-DEPEND="${RDEPEND}
-       nls? ( sys-devel/gettext )"
-
-src_prepare() {
-       # use symlinks rather than hardlinks, and disable version links
-       sed -i \
-               -e '/^LN =/s:=.*:= $(LN_S):' \
-               -e '/install-exec-hook:/s|$|\nfoo:|' \
-               Makefile.in doc/Makefile.in || die
-       sed -i '/^pty1:$/s|$|\n_pty1:|' test/Makefile.in #413327
-
-       EPATCH_OPTS="-Z" \
-       epatch "${FILESDIR}/${P}-bsd_configure_readline.patch" #507468
-}
-
-src_configure() {
-       export ac_cv_libsigsegv=no
-       econf \
-               --libexec='$(libdir)/misc' \
-               $(use_with mpfr) \
-               $(use_enable nls) \
-               $(use_with readline)
-}
-
-src_install() {
-       rm -rf README_d # automatic dodocs barfs
-       default
-
-       # Install headers
-       insinto /usr/include/awk
-       doins *.h || die
-       rm "${ED}"/usr/include/awk/config.h || die
-}
-
-pkg_postinst() {
-       # symlink creation here as the links do not belong to gawk, but to any 
awk
-       if has_version app-admin/eselect \
-                       && has_version app-eselect/eselect-awk ; then
-               eselect awk update ifunset
-       else
-               local l
-               for l in "${EROOT}"usr/share/man/man1/gawk.1* 
"${EROOT}"usr/bin/gawk; do
-                       [[ -e ${l} && ! -e ${l/gawk/awk} ]] && ln -s "${l##*/}" 
"${l/gawk/awk}"
-               done
-               [[ ! -e ${EROOT}bin/awk ]] && ln -s "../usr/bin/gawk" 
"${EROOT}bin/awk"
-       fi
-}
-
-pkg_postrm() {
-       if has_version app-admin/eselect \
-                       && has_version app-eselect/eselect-awk ; then
-               eselect awk update ifunset
-       fi
-}

diff --git a/sys-apps/gawk/gawk-4.2.0.ebuild b/sys-apps/gawk/gawk-4.2.0.ebuild
deleted file mode 100644
index 920298905c4..00000000000
--- a/sys-apps/gawk/gawk-4.2.0.ebuild
+++ /dev/null
@@ -1,83 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit toolchain-funcs multilib
-
-DESCRIPTION="GNU awk pattern-matching language"
-HOMEPAGE="https://www.gnu.org/software/gawk/gawk.html";
-SRC_URI="mirror://gnu/gawk/${P}.tar.xz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux 
~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-IUSE="mpfr nls readline"
-
-RDEPEND="
-       dev-libs/gmp:0=
-       mpfr? ( dev-libs/mpfr:0= )
-       readline? ( sys-libs/readline:0= )
-"
-DEPEND="${RDEPEND}
-       nls? ( sys-devel/gettext )"
-
-src_prepare() {
-       default
-
-       # use symlinks rather than hardlinks, and disable version links
-       sed -i \
-               -e '/^LN =/s:=.*:= $(LN_S):' \
-               -e '/install-exec-hook:/s|$|\nfoo:|' \
-               Makefile.in doc/Makefile.in || die
-       sed -i '/^pty1:$/s|$|\n_pty1:|' test/Makefile.in #413327
-       # fix standards conflict on Solaris
-       if [[ ${CHOST} == *-solaris* ]] ; then
-               sed -i \
-                       -e '/\<_XOPEN_SOURCE\>/s/1$/600/' \
-                       -e '/\<_XOPEN_SOURCE_EXTENDED\>/s/1//' \
-                       extension/inplace.c || die
-       fi
-}
-
-src_configure() {
-       export ac_cv_libsigsegv=no
-       local myeconfargs=(
-               --libexec='$(libdir)/misc'
-               $(use_with mpfr)
-               $(use_enable nls)
-               $(use_with readline)
-       )
-       econf "${myeconfargs[@]}"
-}
-
-src_install() {
-       rm -rf README_d # automatic dodocs barfs
-       default
-
-       # Install headers
-       insinto /usr/include/awk
-       doins *.h || die
-       rm "${ED}"/usr/include/awk/config.h || die
-}
-
-pkg_postinst() {
-       # symlink creation here as the links do not belong to gawk, but to any 
awk
-       if has_version app-admin/eselect \
-                       && has_version app-eselect/eselect-awk ; then
-               eselect awk update ifunset
-       else
-               local l
-               for l in "${EROOT%/}"/usr/share/man/man1/gawk.1* 
"${EROOT%/}"/usr/bin/gawk; do
-                       [[ -e ${l} && ! -e ${l/gawk/awk} ]] && ln -s "${l##*/}" 
"${l/gawk/awk}"
-               done
-               [[ ! -e ${EROOT%/}/bin/awk ]] && ln -s "../usr/bin/gawk" 
"${EROOT%/}/bin/awk"
-       fi
-}
-
-pkg_postrm() {
-       if has_version app-admin/eselect \
-                       && has_version app-eselect/eselect-awk ; then
-               eselect awk update ifunset
-       fi
-}

diff --git a/sys-apps/gawk/gawk-4.2.1.ebuild b/sys-apps/gawk/gawk-4.2.1.ebuild
deleted file mode 100644
index 58bcb228179..00000000000
--- a/sys-apps/gawk/gawk-4.2.1.ebuild
+++ /dev/null
@@ -1,83 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit toolchain-funcs multilib
-
-DESCRIPTION="GNU awk pattern-matching language"
-HOMEPAGE="https://www.gnu.org/software/gawk/gawk.html";
-SRC_URI="mirror://gnu/gawk/${P}.tar.xz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux 
~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-IUSE="mpfr nls readline"
-
-RDEPEND="
-       dev-libs/gmp:0=
-       mpfr? ( dev-libs/mpfr:0= )
-       readline? ( sys-libs/readline:0= )
-"
-DEPEND="${RDEPEND}
-       nls? ( sys-devel/gettext )"
-
-src_prepare() {
-       default
-
-       # use symlinks rather than hardlinks, and disable version links
-       sed -i \
-               -e '/^LN =/s:=.*:= $(LN_S):' \
-               -e '/install-exec-hook:/s|$|\nfoo:|' \
-               Makefile.in doc/Makefile.in || die
-       sed -i '/^pty1:$/s|$|\n_pty1:|' test/Makefile.in #413327
-       # fix standards conflict on Solaris
-       if [[ ${CHOST} == *-solaris* ]] ; then
-               sed -i \
-                       -e '/\<_XOPEN_SOURCE\>/s/1$/600/' \
-                       -e '/\<_XOPEN_SOURCE_EXTENDED\>/s/1//' \
-                       extension/inplace.c || die
-       fi
-}
-
-src_configure() {
-       export ac_cv_libsigsegv=no
-       local myeconfargs=(
-               --libexec='$(libdir)/misc'
-               $(use_with mpfr)
-               $(use_enable nls)
-               $(use_with readline)
-       )
-       econf "${myeconfargs[@]}"
-}
-
-src_install() {
-       rm -rf README_d # automatic dodocs barfs
-       default
-
-       # Install headers
-       insinto /usr/include/awk
-       doins *.h
-       rm "${ED%/}"/usr/include/awk/config.h || die
-}
-
-pkg_postinst() {
-       # symlink creation here as the links do not belong to gawk, but to any 
awk
-       if has_version app-admin/eselect \
-                       && has_version app-eselect/eselect-awk ; then
-               eselect awk update ifunset
-       else
-               local l
-               for l in "${EROOT}"/usr/share/man/man1/gawk.1* 
"${EROOT}"/usr/bin/gawk; do
-                       [[ -e ${l} && ! -e ${l/gawk/awk} ]] && ln -s "${l##*/}" 
"${l/gawk/awk}"
-               done
-               [[ ! -e ${EROOT}/bin/awk ]] && ln -s "../usr/bin/gawk" 
"${EROOT}/bin/awk"
-       fi
-}
-
-pkg_postrm() {
-       if has_version app-admin/eselect \
-                       && has_version app-eselect/eselect-awk ; then
-               eselect awk update ifunset
-       fi
-}

Reply via email to