From bbb5457321b82b97e3f2090db47fa1fed8024923 Mon Sep 17 00:00:00 2001 From: Scott McCreary Date: Sun, 3 Nov 2013 11:55:16 -0800 Subject: [PATCH] Updated sge to support secondaryArchSuffix --- media-libs/sge/sge-030809.recipe | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/media-libs/sge/sge-030809.recipe b/media-libs/sge/sge-030809.recipe index 9fa632ddf..a3e648f70 100644 --- a/media-libs/sge/sge-030809.recipe +++ b/media-libs/sge/sge-030809.recipe @@ -8,30 +8,33 @@ COPYRIGHT="1999-2003 Anders Lindstrom" REVISION="1" -ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" +ARCHITECTURES="x86_gcc2 x86 ?x86_64" +SECONDARY_ARCHITECTURES="x86_gcc2 x86" PROVIDES=" - sge = $portVersion compat >= 030809 - lib:libSGE = $portVersion compat >= 030809 + sge$secondaryArchSuffix = $portVersion compat >= 030809 + lib:libSGE$secondaryArchSuffix = $portVersion compat >= 030809 " REQUIRES=" - haiku >= $haikuVersion - libsdl - sdl_image + haiku$secondaryArchSuffix + libsdl$secondaryArchSuffix + sdl_image$secondaryArchSuffix freetype " + #TODO get freetype to work in sge as well BUILD_REQUIRES=" - haiku_devel - devel:libsdl - devel:sdl_image + haiku${secondaryArchSuffix}_devel + devel:libsdl$secondaryArchSuffix + devel:sdl_image$secondaryArchSuffix # devel:freetype " + BUILD_PREREQUIRES=" - cmd:gcc + cmd:gcc$secondaryArchSuffix cmd:make - cmd:sdl_config + cmd:sdl_config$secondaryArchSuffix " SOURCE_DIR="sge030809" @@ -58,6 +61,7 @@ PROVIDES_devel=" libSGE${secondaryArchSuffix}_devel = $portVersion compat >= 030809 devel:libSGE$secondaryArchSuffix = $portVersion compat >= 030809 " + REQUIRES_devel=" libSGE$secondaryArchSuffix == $portVersion base "