mirror of
https://github.com/RGBCube/serenity
synced 2025-07-30 02:07:44 +00:00
Ports: Add ntbtls port
This commit is contained in:
parent
45f1170691
commit
3cfc05fb8a
3 changed files with 27 additions and 0 deletions
14
Ports/ntbtls/package.sh
Executable file
14
Ports/ntbtls/package.sh
Executable file
|
@ -0,0 +1,14 @@
|
|||
#!/usr/bin/env -S bash ../.port_include.sh
|
||||
port=ntbtls
|
||||
version=0.2.0
|
||||
useconfigure=true
|
||||
#configopts="--with-libgpg-error-prefix=${SERENITY_BUILD_DIR}/Root/usr/local"
|
||||
files="https://gnupg.org/ftp/gcrypt/ntbtls/ntbtls-${version}.tar.bz2 ntbtls-${version}.tar.bz2"
|
||||
|
||||
pre_configure() {
|
||||
export ntbtls_cv_gcc_has_f_visibility=no
|
||||
}
|
||||
|
||||
configure() {
|
||||
run ./configure --host="${SERENITY_ARCH}-pc-serenity" --build="$($workdir/build-aux/config.guess)" $configopts
|
||||
}
|
12
Ports/ntbtls/patches/configure.patch
Normal file
12
Ports/ntbtls/patches/configure.patch
Normal file
|
@ -0,0 +1,12 @@
|
|||
diff -Naur ntbtls-0.2.0/build-aux/config.sub ntbtls-0.2.0.serenity/build-aux/config.sub
|
||||
--- ntbtls-0.2.0/build-aux/config.sub 2016-07-13 19:10:49.000000000 +0200
|
||||
+++ ntbtls-0.2.0.serenity/build-aux/config.sub 2021-04-14 02:52:34.178672014 +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* \
|
Loading…
Add table
Add a link
Reference in a new issue