From 602d51b64290ca890107f9d2d5e879a687d31dad Mon Sep 17 00:00:00 2001 From: Schrijvers Luc Date: Wed, 22 Mar 2023 08:59:40 +0100 Subject: [PATCH] physfs, disable static library, add missing CMAKE_BUILD_TYPE (#8041) --- dev-games/physfs/physfs-3.0.2.recipe | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/dev-games/physfs/physfs-3.0.2.recipe b/dev-games/physfs/physfs-3.0.2.recipe index 2b16308a7..c1477a503 100644 --- a/dev-games/physfs/physfs-3.0.2.recipe +++ b/dev-games/physfs/physfs-3.0.2.recipe @@ -11,7 +11,7 @@ game is running), etc." HOMEPAGE="https://icculus.org/physfs" COPYRIGHT="2001-2017 Ryan C. Gordon" LICENSE="PHYSFS" -REVISION="1" +REVISION="2" SOURCE_URI="http://icculus.org/physfs/downloads/physfs-$portVersion.tar.bz2" CHECKSUM_SHA256="304df76206d633df5360e738b138c94e82ccf086e50ba84f456d3f8432f9f863" @@ -52,14 +52,16 @@ PATCH() BUILD() { - cmake . -DCMAKE_INSTALL_PREFIX=$prefix \ - -DLIB_SUFFIX="/${secondaryArchSuffix/_/}" - make $jobArgs + cmake -Bbuild -S. -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=$prefix \ + -DLIB_SUFFIX="/${secondaryArchSuffix/_/}" \ + -DPHYSFS_BUILD_STATIC=OFF + make -C build $jobArgs } INSTALL() { - make install + make -C build install prepareInstalledDevelLib libphysfs fixPkgconfig