Ports: Fix ncurses port

This commit is contained in:
Dan MacDonald 2019-11-11 22:15:09 +00:00 committed by Andreas Kling
parent 2fea238675
commit 941cd003a7
Notes: sideshowbarker 2024-07-19 11:15:06 +09:00
3 changed files with 13 additions and 16 deletions

View file

@ -1,7 +1,5 @@
#!/bin/bash ../.port_include.sh
port=ncurses
version=git
workdir=ncurses-master
version=6.1
useconfigure=true
curlopts="-L"
files="https://github.com/mirror/ncurses/archive/master.tar.gz ncurses-git.tar.gz"
files="ftp://ftp.gnu.org/gnu/ncurses/ncurses-6.1.tar.gz ncurses-6.1.tar.gz"

View file

@ -1,12 +0,0 @@
diff --git a/config.sub b/config.sub
index 5b158ac4..cfd2eb81 100755
--- a/config.sub
+++ b/config.sub
@@ -1342,6 +1342,7 @@ case $os in
# 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* \

View file

@ -0,0 +1,11 @@
--- ./config.sub 2017-11-25 20:49:31.000000000 +0000
+++ ./config.sub.serenity 2019-11-11 14:08:38.274752900 +0000
@@ -1393,7 +1393,7 @@
-gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
| -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
| -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
- | -sym* | -kopensolaris* | -plan9* \
+ | -sym* | -kopensolaris* | -plan9* | -serenity* \
| -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
| -aos* | -aros* | -cloudabi* | -sortix* \
| -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \