From 29d4dd523d83a0bc1993d72aa96bd1fa8201381b Mon Sep 17 00:00:00 2001 From: Scott McCreary Date: Tue, 29 Oct 2013 18:44:28 +0000 Subject: [PATCH] Added devel and secondArchSuffix support to neon recipe. --- net-misc/neon/neon-0.29.6.recipe | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/net-misc/neon/neon-0.29.6.recipe b/net-misc/neon/neon-0.29.6.recipe index 9c86751fe..19118733b 100644 --- a/net-misc/neon/neon-0.29.6.recipe +++ b/net-misc/neon/neon-0.29.6.recipe @@ -22,17 +22,20 @@ LICENSE="GNU LGPL v2" COPYRIGHT="1999-2011 Joe Orton" SRC_URI="http://www.webdav.org/neon/neon-0.29.6.tar.gz" CHECKSUM_MD5="591e0c82e6979e7e615211b386b8f6bc" -REVISION="7" +REVISION="8" + ARCHITECTURES="x86_gcc2 x86 x86_64" +SECONDARY_ARCHITECTURES="x86_gcc2 x86" PATCHES="neon-0.29.6.patch" PROVIDES=" - neon = $portVersion compat >= 0.29 - lib:libneon = 27.2.6 compat >= 27.2 + neon$secondaryArchSuffix = $portVersion compat >= 0.29 + libneon$secondaryArchSuffix = 27.2.6 compat >= 27.2 + lib:libneon$secondaryArchSuffix = 27.2.6 compat >= 27.2 " REQUIRES=" - haiku >= $haikuVersion + haiku$secondaryArchSuffix >= $haikuVersion lib:libcrypto lib:libncurses lib:libssl @@ -42,12 +45,12 @@ REQUIRES=" BUILD_REQUIRES=" devel:libcrypto devel:libncurses - devel:libssl >= 1.0.0 + devel:libssl devel:libxml2 >= 2.7.8 devel:libz " BUILD_PREREQUIRES=" - haiku_devel >= $haikuVersion + haiku${secondaryArchSuffix}_devel >= $haikuVersion cmd:aclocal cmd:autoconf cmd:libtoolize @@ -96,10 +99,12 @@ INSTALL() # ----- devel package ------------------------------------------------------- PROVIDES_devel=" - neon_devel = $portVersion compat >= 0.29 - cmd:neon_config = $portVersion compat >= 0.29 - devel:libneon = 27.2.6 compat >= 27 + neon${secondaryArchSuffix}_devel = $portVersion compat >= 0.29 + libneon${secondaryArchSuffix}_devel = 27.2.6 compat >= 27 + cmd:neon_config$secondaryArchSuffix = $portVersion compat >= 0.29 + devel:libneon$secondaryArchSuffix = 27.2.6 compat >= 27 " REQUIRES_devel=" - neon == $portVersion base + neon$secondaryArchSuffix == $portVersion base + libneon$secondaryArchSuffix == 27.2.6 "