1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-29 23:27:34 +00:00

Ports: Add npth port

This commit is contained in:
Gunnar Beutner 2021-04-14 04:31:52 +02:00 committed by Andreas Kling
parent a937182254
commit 0b7079a76a
3 changed files with 22 additions and 0 deletions

9
Ports/npth/package.sh Executable file
View file

@ -0,0 +1,9 @@
#!/usr/bin/env -S bash ../.port_include.sh
port=npth
version=1.6
useconfigure=true
files="https://gnupg.org/ftp/gcrypt/npth/npth-${version}.tar.bz2 npth-${version}.tar.bz2"
configure() {
run ./configure --host="${SERENITY_ARCH}-pc-serenity" --build="$($workdir/build-aux/config.guess)" $configopts
}

View file

@ -0,0 +1,12 @@
diff -Naur npth-1.6/build-aux/config.sub npth-1.6.serenity/build-aux/config.sub
--- npth-1.6/build-aux/config.sub 2021-04-14 02:43:42.288159882 +0200
+++ npth-1.6.serenity/build-aux/config.sub 2016-07-13 19:03:42.000000000 +0200
@@ -1381,7 +1381,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* | -irix* | -serenity* \
| -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
| -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
| -sym* | -kopensolaris* | -plan9* \