From 1a3e28546c2cd69c7f6f02e2b1f7464b42c9599a Mon Sep 17 00:00:00 2001 From: Scott McCreary Date: Sun, 27 Oct 2013 13:08:26 -0700 Subject: [PATCH] Marked physfs as untested on gcc4 and x86_64, added secondaryArchSuffix --- dev-games/physfs/physfs-2.0.3.recipe | 29 +++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/dev-games/physfs/physfs-2.0.3.recipe b/dev-games/physfs/physfs-2.0.3.recipe index 47de735d3..9cd871976 100644 --- a/dev-games/physfs/physfs-2.0.3.recipe +++ b/dev-games/physfs/physfs-2.0.3.recipe @@ -6,53 +6,56 @@ CHECKSUM_MD5="c2c727a8a8deb623b521b52d0080f613" LICENSE="PHYSFS" COPYRIGHT="2001-2012 Ryan C. Gordon" -ARCHITECTURES="x86_gcc2 x86 x86_64" +ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" +SECONDARY_ARCHITECTURES="x86_gcc2 ?x86" REVISION="1" PROVIDES=" - physfs = $portVersion - lib:libphysfs = $portVersion + physfs$secondaryArchSuffix = $portVersion + lib:libphysfs$secondaryArchSuffix = $portVersion " REQUIRES=" - haiku - lib:libz + haiku$secondaryArchSuffix >= $haikuVersion + lib:libz$secondaryArchSuffix " BUILD_REQUIRES=" - devel:libz + devel:libz$secondaryArchSuffix >= 1.0.4 " BUILD_PREREQUIRES=" - haiku_devel + haiku${secondaryArchSuffix}_devel >= $haikuVersion cmd:cmake cmd:make - cmd:gcc + cmd:gcc$secondaryArchSuffix " BUILD() { cmake . -DLIBRARY_OUTPUT_PATH:=$libDir - make + make $jobArgs } INSTALL() { make install - fixPkgconfig prepareInstalledDevelLib libphysfs + fixPkgconfig + # devel package packageEntries devel \ $developDir } PROVIDES_devel=" - devel:physfs = $portVersion compat >= 2.0 - devel:libphysfs = 2.0.3 compat >= 2.0 + physfs$secondaryArchSuffix_devel = $portVersion compat >= 2.0 + devel:physfs$secondaryArchSuffix = $portVersion compat >= 2.0 + devel:libphysfs$secondaryArchSuffix = 2.0.3 compat >= 2.0 " REQUIRES_devel=" - physfs == $portVersion base + physfs$secondaryArchSuffix == $portVersion base "