osl: fixed x86 patching (#5708)

This commit is contained in:
kenmays
2021-02-13 02:27:36 -08:00
committed by GitHub
parent 8335a56702
commit bf8d6477a4

View File

@@ -10,8 +10,9 @@ SOURCE_URI="$HOMEPAGE/archive/Release-$portVersion.tar.gz"
CHECKSUM_SHA256="c716b0743a9eec706f69c80dc55d2fcedbb53062dd6a1313f3822665b2ab9f5f"
SOURCE_DIR="OpenShadingLanguage-Release-$portVersion"
PATCHES="osl-$portVersion.patchset"
if [ "$targetArchitecture" = x86_gcc2 ]; then
PATCHES_2="osl-$portVersion-gcc2.patch"
if [ $effectiveTargetArchitecture = x86 ]; then
PATCHES+="
osl-$portVersion-gcc2.patch"
fi
ARCHITECTURES="!x86_gcc2 x86_64"
SECONDARY_ARCHITECTURES="x86"