mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-22 17:31:58 -05:00
Ports: Add grep port
This commit is contained in:
parent
78ddf2e048
commit
d847368c88
2 changed files with 16 additions and 0 deletions
6
Ports/grep/package.sh
Executable file
6
Ports/grep/package.sh
Executable file
|
@ -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
|
10
Ports/grep/patches/fix-autoconf.patch
Normal file
10
Ports/grep/patches/fix-autoconf.patch
Normal file
|
@ -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* \
|
Loading…
Reference in a new issue