mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 03:30:05 +02:00
XaoS: fix REQUIRES, add support for x86_gcc2 secondary arch.
* lib:libgsl is neither available nor needed on x86_gcc2.
* XaoS 3.4 fails to build on x86{,_64}, even without libgsl.
This commit is contained in:
@@ -32,35 +32,36 @@ SOURCE_DIR="XaoS-release-$portVersion"
|
||||
PATCHES="xaos-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 ?x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 ?x86"
|
||||
|
||||
PROVIDES="
|
||||
xaos
|
||||
xaos$secondaryArchSuffix = $portVersion
|
||||
app:XaoS = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
lib:libgsl$secondaryArchSuffix
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libiconv$secondaryArchSuffix
|
||||
lib:libintl$secondaryArchSuffix
|
||||
"
|
||||
if [ "$effectiveTargetArchitecture" != x86_gcc2 ]; then
|
||||
REQUIRES+="
|
||||
REQUIRES+="
|
||||
lib:libgsl$secondaryArchSuffix
|
||||
"
|
||||
fi
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libiconv$secondaryArchSuffix
|
||||
devel:libintl$secondaryArchSuffix
|
||||
"
|
||||
if [ "$effectiveTargetArchitecture" != x86_gcc2 ]; then
|
||||
BUILD_REQUIRES+="
|
||||
BUILD_REQUIRES+="
|
||||
devel:libgsl$secondaryArchSuffix
|
||||
"
|
||||
fi
|
||||
BUILD_PREREQUIRES="
|
||||
haiku_devel
|
||||
cmd:gcc
|
||||
cmd:libtoolize
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:libtoolize$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:nasm
|
||||
"
|
||||
|
||||
Reference in New Issue
Block a user