summaryrefslogtreecommitdiff
path: root/Ports
diff options
context:
space:
mode:
authorEWouters <6179932+EWouters@users.noreply.github.com>2021-11-03 15:29:23 +0100
committerLinus Groh <mail@linusgroh.de>2021-11-14 16:20:55 +0000
commit069e64efd161edc0c9ef92d915672b40c2e38027 (patch)
tree3bb4c0cb9966495acbdc58e3cbbba2d995196ea0 /Ports
parent2c4db837e799878de95ee830c015aaeaed6a8c85 (diff)
downloadserenity-069e64efd161edc0c9ef92d915672b40c2e38027.zip
Ports/libuv: Update libuv to version 1.42.0 and fix cmake argument
Add CMAKE_BUILD_WITH_INSTALL_RPATH=true to the cmake arguments as it wouldn't compile on MacOS without this argument
Diffstat (limited to 'Ports')
-rw-r--r--Ports/AvailablePorts.md2
-rwxr-xr-xPorts/libuv/package.sh6
2 files changed, 4 insertions, 4 deletions
diff --git a/Ports/AvailablePorts.md b/Ports/AvailablePorts.md
index 3369ed2171..c093fe47c6 100644
--- a/Ports/AvailablePorts.md
+++ b/Ports/AvailablePorts.md
@@ -90,7 +90,7 @@ Please make sure to keep this list up to date when adding and updating ports. :^
| [`libtiff`](libtiff/) | libtiff | 4.2.0 | http://www.libtiff.org/ |
| [`libtool`](libtool/) | libtool | 2.4 | https://www.gnu.org/software/libtool/ |
| [`libuuid`](libuuid/) | libuuid (from util-linux) | 2.37.2 | https://github.com/karelzak/util-linux/tree/master/libuuid |
-| [`libuv`](libuv/) | libuv | b12699b | https://github.com/libuv/libuv |
+| [`libuv`](libuv/) | libuv | 1.42.0 | https://github.com/libuv/libuv |
| [`libvorbis`](libvorbis/) | libvorbis | 1.3.7 | https://github.com/xiph/vorbis |
| [`libxml2`](libxml2/) | libxml2 | 2.9.12 | http://www.xmlsoft.org/ |
| [`libzip`](libzip/) | libzip | 1.7.3 | https://libzip.org/ |
diff --git a/Ports/libuv/package.sh b/Ports/libuv/package.sh
index f804c9153c..7dbaa076b3 100755
--- a/Ports/libuv/package.sh
+++ b/Ports/libuv/package.sh
@@ -1,10 +1,10 @@
#!/usr/bin/env -S bash ../.port_include.sh
port=libuv
-version=b12699b1efabfd241324f4ab6cfd6ce576db491e
+version=1.42.0
useconfigure=true
-files="https://github.com/libuv/libuv/archive/$version.tar.gz $port-$version.tar.gz bbbfa2bb50437047efc8fb29c243c914ae0de94107d7cc641c2f84e292904eb5"
+files="https://github.com/libuv/libuv/archive/refs/tags/v$version.tar.gz $port-$version.tar.gz 371e5419708f6aaeb8656671f89400b92a9bba6443369af1bb70bcd6e4b3c764"
auth_type=sha256
-configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt" "-GNinja")
+configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt" "-GNinja" "-DCMAKE_BUILD_WITH_INSTALL_RPATH=true")
configure() {
run cmake "${configopts[@]}" .