mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 21:07:35 +00:00
Ports: Add libksba port
This commit is contained in:
parent
0b7079a76a
commit
700cad4508
3 changed files with 26 additions and 0 deletions
13
Ports/libksba/package.sh
Executable file
13
Ports/libksba/package.sh
Executable file
|
@ -0,0 +1,13 @@
|
|||
#!/usr/bin/env -S bash ../.port_include.sh
|
||||
port=libksba
|
||||
version=1.5.1
|
||||
useconfigure=true
|
||||
files="https://gnupg.org/ftp/gcrypt/libksba/libksba-${version}.tar.bz2 libksba-${version}.tar.bz2"
|
||||
|
||||
pre_configure() {
|
||||
export ksba_cv_gcc_has_f_visibility=no
|
||||
}
|
||||
|
||||
configure() {
|
||||
run ./configure --host="${SERENITY_ARCH}-pc-serenity" --build="$($workdir/build-aux/config.guess)" $configopts
|
||||
}
|
12
Ports/libksba/patches/configure.patch
Normal file
12
Ports/libksba/patches/configure.patch
Normal file
|
@ -0,0 +1,12 @@
|
|||
diff -Naur libksba-1.5.1/build-aux/config.sub libksba-1.5.1.serenity/build-aux/config.sub
|
||||
--- libksba-1.5.1/build-aux/config.sub 2016-08-22 10:40:58.000000000 +0200
|
||||
+++ libksba-1.5.1.serenity/build-aux/config.sub 2021-04-14 02:31:15.924387614 +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