summaryrefslogtreecommitdiff
path: root/Ports/libphysfs
diff options
context:
space:
mode:
authorAndrew Kaster <akaster@serenityos.org>2021-08-19 22:33:06 -0600
committerAli Mohammad Pur <Ali.mpfard@gmail.com>2021-09-15 19:04:52 +0430
commit9dff6acc556c9e7e2eb5ae4ddc5f3310d8e9eb94 (patch)
tree60f77eb3b6e5f7c6c3aaa010d491212c1c1932d2 /Ports/libphysfs
parentb9e3647e668823aaedd3c6a63f6d0498b4544efd (diff)
downloadserenity-9dff6acc556c9e7e2eb5ae4ddc5f3310d8e9eb94.zip
Ports: Use new CMakeToolchain.txt located in the build directory
Now that we're generating the CMake toolchain file in the build directory, we need to redirect the ports that use CMake to the new location. Looking into this showed that there's still a bunch of work to do in general to make the ports agnostic to which toolchain they're using, there's a lot of hard-coded ${ARCH}-pc-serenity-gcc assumptions still here.
Diffstat (limited to 'Ports/libphysfs')
-rwxr-xr-xPorts/libphysfs/package.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/Ports/libphysfs/package.sh b/Ports/libphysfs/package.sh
index 4030a9ac7c..647ceb725f 100755
--- a/Ports/libphysfs/package.sh
+++ b/Ports/libphysfs/package.sh
@@ -3,7 +3,7 @@ port=libphysfs
useconfigure=true
version=3.0.2
workdir="physfs-${version}"
-configopts="-DCMAKE_TOOLCHAIN_FILE=$SERENITY_SOURCE_DIR/Toolchain/CMake/CMakeToolchain.txt"
+configopts="-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt"
files="https://icculus.org/physfs/downloads/physfs-${version}.tar.bz2 physfs-${version}.tar.bz2 304df76206d633df5360e738b138c94e82ccf086e50ba84f456d3f8432f9f863"
auth_type=sha256