mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
physfs, disable static library, add missing CMAKE_BUILD_TYPE (#8041)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user