mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 03:30:05 +02:00
libsdl2: fix path for cmake #8275
This commit is contained in:
@@ -6,7 +6,7 @@ software, emulators, and popular games."
|
||||
HOMEPAGE="https://www.libsdl.org/"
|
||||
COPYRIGHT="1997-2022 Sam Lantinga"
|
||||
LICENSE="Zlib"
|
||||
REVISION="2"
|
||||
REVISION="3"
|
||||
SOURCE_URI="https://www.libsdl.org/release/SDL2-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="1a0f686498fb768ad9f3f80b39037a7d006eac093aad39cb4ebcc832a8887231"
|
||||
SOURCE_DIR="SDL2-$portVersion"
|
||||
@@ -61,7 +61,7 @@ INSTALL()
|
||||
{
|
||||
ninja -C build install
|
||||
|
||||
sed -i "s|.self/$relativeLibDir|.self/$relativeDevelopLibDir|" \
|
||||
sed -i 's,${_IMPORT_PREFIX}/lib',$developDir/lib, \
|
||||
$libDir/cmake/SDL2/SDL2mainTargets-release.cmake
|
||||
rm $libDir/libSDL2_test.a
|
||||
rm $libDir/cmake/SDL2/SDL2testTargets-release.cmake
|
||||
|
||||
Reference in New Issue
Block a user