mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
sdl_image: fix gcc2 build
This commit is contained in:
@@ -17,6 +17,12 @@ SOURCE_DIR="SDL_image-1.2.12"
|
||||
ARCHITECTURES="all"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
if [ "$effectiveTargetArchitecture" == "x86_gcc2" ]; then
|
||||
TIFF_VERSION=5
|
||||
else
|
||||
TIFF_VERSION=6
|
||||
fi
|
||||
|
||||
PROVIDES="
|
||||
sdl_image$secondaryArchSuffix = $portVersion compat >= 1.2
|
||||
lib:libSDL_image_1.2$secondaryArchSuffix = $portVersion compat >= 0
|
||||
@@ -47,7 +53,7 @@ BUILD_REQUIRES="
|
||||
devel:libjpeg$secondaryArchSuffix
|
||||
devel:libpng16$secondaryArchSuffix
|
||||
devel:libSDL_1.2$secondaryArchSuffix
|
||||
devel:libtiff$secondaryArchSuffix >= 6
|
||||
devel:libtiff$secondaryArchSuffix >= $TIFF_VERSION
|
||||
devel:libwebp$secondaryArchSuffix
|
||||
devel:libz$secondaryArchSuffix
|
||||
"
|
||||
|
||||
Reference in New Issue
Block a user