Rewrite ARCHITECTURES syntax to new HaikuPorter changes.

HaikuPorter now does not care what is in ARCHITECTURES when
building for a SECONDARY_ARCHITECTURE.
This commit is contained in:
Augustin Cavalier
2015-08-04 11:59:44 -04:00
parent 23faff5dbc
commit 55dd9cf19d
304 changed files with 377 additions and 1991 deletions

View File

@@ -13,12 +13,7 @@ SOURCE_URI="http://prdownloads.sourceforge.net/sc2/uqm-0.7.0-source.tgz"
CHECKSUM_SHA256="a3695c5f7f0be7ec9c0f80ec569907b382023a1fee6e635532bd53b7b53bb221"
PATCHES="uqm-$portVersion.patchset"
ARCHITECTURES="!x86 ?x86_64"
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
# x86_gcc2 is fine as primary target architecture as long as we're building
# for a different secondary architecture.
ARCHITECTURES="$ARCHITECTURES !x86_gcc2"
fi
ARCHITECTURES="!x86_gcc2 !x86 ?x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="