diff options
author | Brian Callahan <bcallah@openbsd.org> | 2020-01-25 12:23:47 -0500 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-01-26 09:46:41 +0100 |
commit | d847368c8832da0ecb1363b1b7652c54a445cf81 (patch) | |
tree | 2b65ca7d04d9c760469a816c5a913dc93f7e1e89 /Ports/grep | |
parent | 78ddf2e0489d2944f5bbb05c9c924bb97fed9b34 (diff) | |
download | serenity-d847368c8832da0ecb1363b1b7652c54a445cf81.zip |
Ports: Add grep port
Diffstat (limited to 'Ports/grep')
-rwxr-xr-x | Ports/grep/package.sh | 6 | ||||
-rw-r--r-- | Ports/grep/patches/fix-autoconf.patch | 10 |
2 files changed, 16 insertions, 0 deletions
diff --git a/Ports/grep/package.sh b/Ports/grep/package.sh new file mode 100755 index 0000000000..ae4ae1209d --- /dev/null +++ b/Ports/grep/package.sh @@ -0,0 +1,6 @@ +#!/bin/bash ../.port_include.sh +port=grep +version=2.5.4 +files="https://ftp.gnu.org/gnu/grep/grep-2.5.4.tar.gz grep-2.5.4.tar.gz" +useconfigure=true +configopts=--disable-perl-regexp diff --git a/Ports/grep/patches/fix-autoconf.patch b/Ports/grep/patches/fix-autoconf.patch new file mode 100644 index 0000000000..34779884ef --- /dev/null +++ b/Ports/grep/patches/fix-autoconf.patch @@ -0,0 +1,10 @@ +--- grep-2.5.4/config.sub.orig Sat Jan 25 11:56:17 2020 ++++ grep-2.5.4/config.sub Sat Jan 25 11:56:28 2020 +@@ -1204,6 +1204,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* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\ + | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \ + | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ |