Ports: Add grep port

This commit is contained in:
Brian Callahan 2020-01-25 12:23:47 -05:00 committed by Andreas Kling
parent 78ddf2e048
commit d847368c88
2 changed files with 16 additions and 0 deletions

6
Ports/grep/package.sh Executable file
View 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

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