mirror of
https://github.com/SerenityOS/serenity.git
synced 2026-11-07 04:29:30 -10:00
Ports: Update file to 5.48
I'm pretty sure the existing build script was only working by accident
due to whoever wrote it having file installed on the host, on NixOS I
got the following:
[file/build] file: error while loading shared libraries: libmagic.so.1:
cannot open shared object file: No such file or directory
[file/build] Cannot use the installed version of file () to
[file/build] cross-compile file 5.48
[file/build] Please install file 5.48 locally first
s/PATH/LD_LIBRARY_PATH/ fixed that.
This commit is contained in:
1 parent
60c4a99fd6
commit
df8bf80ec4
2 files changed
+4
-4
No files matched your search
@@ -76,7 +76,7 @@ This list is also available at [ports.serenityos.net](https://ports.serenityos.n
|
||||
| [`FAudio`](FAudio/) | FAudio | 26.08 | https://fna-xna.github.io/ |
|
||||
| [`ffmpeg`](ffmpeg/) | ffmpeg | 8.1.1 | https://ffmpeg.org |
|
||||
| [`figlet`](figlet/) | FIGlet | 2.2.5 | http://www.figlet.org/ |
|
||||
| [`file`](file/) | file (determine file type) | 5.46 | https://www.darwinsys.com/file/ |
|
||||
| [`file`](file/) | file (determine file type) | 5.48 | https://www.darwinsys.com/file/ |
|
||||
| [`findutils`](findutils/) | GNU findutils | 4.10.0 | https://www.gnu.org/software/findutils/ |
|
||||
| [`fio`](fio/) | fio - Flexible I/O tester | 3.33 | https://fio.readthedocs.io/en/latest/ |
|
||||
| [`flac`](flac/) | Free Lossless Audio Codec | 1.4.3 | https://xiph.org/flac/ |
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
#!/usr/bin/env -S bash ../.port_include.sh
|
||||
port='file'
|
||||
version='5.46'
|
||||
version='5.48'
|
||||
useconfigure='true'
|
||||
use_fresh_config_sub='true'
|
||||
files=(
|
||||
"http://ftp.astron.com/pub/file/file-${version}.tar.gz#c9cc77c7c560c543135edc555af609d5619dbef011997e988ce40a3d75d86088"
|
||||
"http://ftp.astron.com/pub/file/file-${version}.tar.gz#ed14656883b23a364b4057c05595d93252da9bc473d30106519519d0da141283"
|
||||
)
|
||||
|
||||
function pre_configure() {
|
||||
@@ -18,6 +18,6 @@ function pre_configure() {
|
||||
}
|
||||
|
||||
function build() {
|
||||
export PATH="${PORT_BUILD_DIR}/host-build/src/.libs/:$PATH"
|
||||
export LD_LIBRARY_PATH="${PORT_BUILD_DIR}/host-build/src/.libs/:$LD_LIBRARY_PATH"
|
||||
run make
|
||||
}
|
||||
Reference in new issue
Block a user