tbb: clean up haiku patches.

it produced broken libs on x86.
This commit is contained in:
Jerome Duval
2019-10-30 21:43:51 +01:00
parent b342c53bcf
commit 03b226d19c
2 changed files with 322 additions and 47 deletions

View File

@@ -6,11 +6,11 @@ library manages and schedules threads to execute these tasks."
HOMEPAGE="https://www.threadingbuildingblocks.org/"
COPYRIGHT="2005-2018 Intel Corporation"
LICENSE="Apache v2"
REVISION="1"
REVISION="2"
SOURCE_URI="https://github.com/01org/tbb/archive/${portVersion/./_U}.tar.gz"
CHECKSUM_SHA256="c4c2896af527392496c5e01ef8579058a71b6eebbd695924cd138841c13f07be"
SOURCE_DIR="tbb-${portVersion/./_U}"
PATCHES="tbb-${portVersion/./_U}.patchset"
PATCHES="tbb-$portVersion.patchset"
ARCHITECTURES="!x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
@@ -41,7 +41,9 @@ BUILD_REQUIRES="
BUILD_PREREQUIRES="
cmd:find
cmd:gcc$secondaryArchSuffix
cmd:grep
cmd:make
cmd:sed
"
defineDebugInfoPackage tbb$secondaryArchSuffix \
@@ -51,11 +53,7 @@ defineDebugInfoPackage tbb$secondaryArchSuffix \
BUILD()
{
if [ "$effectiveTargetArchitecture" != x86_64 ]; then
make arch=ia32 $jobArgs
else
make $jobArgs
fi
make $jobArgs
}
INSTALL()
@@ -83,5 +81,5 @@ INSTALL()
TEST()
{
make test
make $jobArgs test
}