mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
sdl2: Fix build for x86 secondary arch
* Patch to remove old be/ include paths * Fix sdl2-config, you're supposed to let the fixPkgconfig create the symlink * Requires recent gcc update
This commit is contained in:
@@ -8,7 +8,7 @@ emulators, and popular games.
|
||||
HOMEPAGE="http://www.libsdl.org/"
|
||||
SRC_URI="http://www.libsdl.org/release/SDL2-2.0.1.tar.gz"
|
||||
CHECKSUM_MD5="0eb97039488bf463e775295f7b18b227"
|
||||
REVISION="2"
|
||||
REVISION="3"
|
||||
LICENSE="Zlib"
|
||||
COPYRIGHT="1997-2013 Sam Lantinga"
|
||||
|
||||
@@ -52,6 +52,8 @@ BUILD_PREREQUIRES="
|
||||
|
||||
SOURCE_DIR="SDL2-$portVersion"
|
||||
|
||||
PATCHES="libsdl2-2.0.1.patchset"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
runConfigure ./configure
|
||||
@@ -70,10 +72,10 @@ INSTALL()
|
||||
libSDL2-2.0
|
||||
|
||||
fixPkgconfig
|
||||
fixDevelopLibDirReferences $binDir/sdl2-config$secondaryArchSuffix
|
||||
fixDevelopLibDirReferences $binDir/sdl2-config
|
||||
|
||||
packageEntries devel \
|
||||
$developDir $binDir/sdl2-config$secondaryArchSuffix $dataDir
|
||||
$developDir $binDir/sdl2-config $dataDir
|
||||
}
|
||||
|
||||
# ----- devel package -------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user