mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 07:30:19 +00:00
Ports: Add a gawk port
This commit is contained in:
parent
a1617faf44
commit
dda216c334
Notes:
sideshowbarker
2024-07-18 03:53:11 +09:00
Author: https://github.com/timschumi Commit: https://github.com/SerenityOS/serenity/commit/dda216c3340 Pull-request: https://github.com/SerenityOS/serenity/pull/10058
3 changed files with 34 additions and 0 deletions
|
@ -41,6 +41,7 @@ Please make sure to keep this list up to date when adding and updating ports. :^
|
|||
| [`freeciv`](freeciv/) | Freeciv | 3.0.0-beta2 | http://freeciv.org/ |
|
||||
| [`freetype`](freetype/) | FreeType | 2.10.4 | https://www.freetype.org/ |
|
||||
| [`frotz`](frotz/) | Frotz | 2.53 | https://gitlab.com/DavidGriffith/frotz |
|
||||
| [`gawk`](gawk/) | GNU awk | 5.1.0 | https://www.gnu.org/software/gawk/ |
|
||||
| [`gcc`](gcc/) | GNU Compiler Collection | 11.2.0 | https://gcc.gnu.org/ |
|
||||
| [`genemu`](genemu/) | Genesis / MegaDrive Emulator | 3bf6f7c | https://github.com/rasky/genemu |
|
||||
| [`gettext`](gettext/) | GNU gettext | 0.21 | https://www.gnu.org/software/gettext/ |
|
||||
|
|
9
Ports/gawk/package.sh
Executable file
9
Ports/gawk/package.sh
Executable file
|
@ -0,0 +1,9 @@
|
|||
#!/usr/bin/env -S bash ../.port_include.sh
|
||||
port=gawk
|
||||
version=5.1.0
|
||||
useconfigure="true"
|
||||
files="https://ftpmirror.gnu.org/gnu/gawk/gawk-${version}.tar.gz gawk-${version}.tar.gz
|
||||
https://ftpmirror.gnu.org/gnu/gawk/gawk-${version}.tar.gz.sig gawk-${version}.tar.gz.sig
|
||||
https://ftpmirror.gnu.org/gnu/gnu-keyring.gpg gnu-keyring.gpg"
|
||||
auth_type="sig"
|
||||
auth_opts="--keyring ./gnu-keyring.gpg gawk-${version}.tar.gz.sig"
|
24
Ports/gawk/patches/configure.patch
Normal file
24
Ports/gawk/patches/configure.patch
Normal file
|
@ -0,0 +1,24 @@
|
|||
diff -ur a/config.sub b/config.sub
|
||||
--- a/config.sub 2020-04-13 08:44:50.000000000 +0200
|
||||
+++ b/config.sub 2021-06-02 14:46:39.331046420 +0200
|
||||
@@ -1338,7 +1338,7 @@
|
||||
# The portable systems comes first.
|
||||
# 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* \
|
||||
+ gnu* | bsd* | mach* | minix* | genix* | ultrix* | serenity* | irix* \
|
||||
| *vms* | esix* | aix* | cnk* | sunos | sunos[34]*\
|
||||
| hpux* | unos* | osf* | luna* | dgux* | auroraux* | solaris* \
|
||||
| sym* | kopensolaris* | plan9* \
|
||||
diff -ur a/extension/build-aux/config.sub b/extension/build-aux/config.sub
|
||||
--- a/extension/build-aux/config.sub 2020-04-13 08:44:50.000000000 +0200
|
||||
+++ b/extension/build-aux/config.sub 2021-06-02 14:46:39.331046420 +0200
|
||||
@@ -1338,7 +1338,7 @@
|
||||
# The portable systems comes first.
|
||||
# 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* \
|
||||
+ gnu* | bsd* | mach* | minix* | genix* | ultrix* | serenity* | irix* \
|
||||
| *vms* | esix* | aix* | cnk* | sunos | sunos[34]*\
|
||||
| hpux* | unos* | osf* | luna* | dgux* | auroraux* | solaris* \
|
||||
| sym* | kopensolaris* | plan9* \
|
Loading…
Reference in a new issue