Skip to content

Commit

Permalink
Ports/libarchive: Update libarchive to version 3.7.1
Browse files Browse the repository at this point in the history
The sysroot is now configured for libarchive and pcre, to allow
libarchive to find libpcre when building with Clang.
  • Loading branch information
EWouters authored and gmta committed Oct 12, 2023
1 parent c59ae1b commit f18a87f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Ports/AvailablePorts.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ This list is also available at [ports.serenityos.net](https://ports.serenityos.n
| [`lame`](lame/) | LAME Ain't an MP3 Encoder | 3.100 | https://lame.sourceforge.io/ |
| [`lcms2`](lcms2/) | Small-footprint color management engine | 2.15 | https://github.com/mm2/Little-CMS |
| [`less`](less/) | less | 643 | https://www.greenwoodsoftware.com/less/ |
| [`libarchive`](libarchive/) | libarchive | 3.6.1 | https://libarchive.org/ |
| [`libarchive`](libarchive/) | libarchive | 3.7.1 | https://libarchive.org/ |
| [`libassuan`](libassuan/) | libassuan | 2.5.5 | https://gnupg.org/software/libassuan/index.html |
| [`libatomic_ops`](libatomic_ops/) | libatomic\_ops | 7.6.12 | https://www.hboehm.info/gc/ |
| [`libenet`](libenet/) | libenet | 1.3.17 | http:https://sauerbraten.org/enet/ |
Expand Down
5 changes: 3 additions & 2 deletions Ports/libarchive/package.sh
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
#!/usr/bin/env -S bash ../.port_include.sh
port='libarchive'
version='3.6.1'
version='3.7.1'
useconfigure='true'
use_fresh_config_sub='true'
config_sub_paths=(
'build/autoconf/config.sub'
)
configopts=(
'--without-xml2'
"--with-sysroot=${SERENITY_INSTALL_ROOT}"
)
files=(
"https://libarchive.org/downloads/libarchive-${version}.tar.gz#c676146577d989189940f1959d9e3980d28513d74eedfbc6b7f15ea45fe54ee2"
"https://libarchive.org/downloads/libarchive-${version}.tar.gz#5d24e40819768f74daf846b99837fc53a3a9dcdf3ce1c2003fe0596db850f0f0"
)
depends=(
'pcre'
Expand Down
3 changes: 3 additions & 0 deletions Ports/pcre/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,6 @@ use_fresh_config_sub='true'
files=(
"https://downloads.sourceforge.net/project/pcre/pcre/${version}/pcre-${version}.tar.gz#4e6ce03e0336e8b4a3d6c2b70b1c5e18590a5673a98186da90d4f33c23defc09"
)
configopts=(
"--with-sysroot=${SERENITY_INSTALL_ROOT}"
)

0 comments on commit f18a87f

Please sign in to comment.