From b90af9b1edfd14b106e92c50c9baea41e3c7feea Mon Sep 17 00:00:00 2001 From: Brian Callahan Date: Thu, 23 Jan 2020 14:41:40 -0500 Subject: [PATCH] Ports: Add mawk port (#1117) --- Ports/mawk/package.sh | 5 +++++ Ports/mawk/patches/fix-autoconf.patch | 10 ++++++++++ 2 files changed, 15 insertions(+) create mode 100755 Ports/mawk/package.sh create mode 100644 Ports/mawk/patches/fix-autoconf.patch diff --git a/Ports/mawk/package.sh b/Ports/mawk/package.sh new file mode 100755 index 0000000000..f3c8001f44 --- /dev/null +++ b/Ports/mawk/package.sh @@ -0,0 +1,5 @@ +#!/bin/bash ../.port_include.sh +port=mawk +version=1.3.4-20200120 +files="https://invisible-mirror.net/archives/mawk/mawk-1.3.4-20200120.tgz mawk-1.3.4-20200120.tgz" +useconfigure=true diff --git a/Ports/mawk/patches/fix-autoconf.patch b/Ports/mawk/patches/fix-autoconf.patch new file mode 100644 index 0000000000..45c0a02337 --- /dev/null +++ b/Ports/mawk/patches/fix-autoconf.patch @@ -0,0 +1,10 @@ +--- mawk-1.3.4-20200120/config.sub.orig Wed Jan 22 22:00:37 2020 ++++ mawk-1.3.4-20200120/config.sub Wed Jan 22 22:00:46 2020 +@@ -1339,6 +1339,7 @@ + # Each alternative MUST end in a * to match a version number. + # sysv* is not here because it comes later, after sysvr4. + gnu* | bsd* | mach* | minix* | genix* | ultrix* | irix* \ ++ | serenity* \ + | *vms* | esix* | aix* | cnk* | sunos | sunos[34]*\ + | hpux* | unos* | osf* | luna* | dgux* | auroraux* | solaris* \ + | sym* | kopensolaris* | plan9* \