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