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* \