From 93ab127d2659fed927e0a51a8e3841b0080d9a9b Mon Sep 17 00:00:00 2001 From: Jessica Hamilton Date: Sun, 7 Jun 2015 20:04:31 +1200 Subject: [PATCH] swig: add additional supported languages, fix build --- dev-lang/swig/swig-2.0.11.recipe | 30 ++++++++++++++++++------------ 1 file changed, 18 insertions(+), 12 deletions(-) diff --git a/dev-lang/swig/swig-2.0.11.recipe b/dev-lang/swig/swig-2.0.11.recipe index 27ada4246..40667210b 100644 --- a/dev-lang/swig/swig-2.0.11.recipe +++ b/dev-lang/swig/swig-2.0.11.recipe @@ -26,45 +26,51 @@ SRC_URI="http://sourceforge.net/projects/swig/files/swig/swig-2.0.11/swig-2.0.11 CHECKSUM_SHA256="63780bf29f53937ad399a1f68bccb3730c90f65746868c4cdfc25cafcd0a424e" REVISION="1" ARCHITECTURES="?x86 ?x86_gcc2" +SECONDARY_ARCHITECTURES="x86" PROVIDES=" - swig = $portVersion - cmd:swig = $portVersion - cmd:ccache_swig = $portVersion + swig${secondaryArchSuffix} = $portVersion + cmd:swig${secondaryArchSuffix} = $portVersion + cmd:ccache_swig${secondaryArchSuffix} = $portVersion " REQUIRES=" - haiku - lib:libpcre + haiku${secondaryArchSuffix} + lib:libpcre${secondaryArchSuffix} " #TODO add ruby and chicken when they get updated recipes #TODO fix lua and tcl detection BUILD_REQUIRES=" devel:libtclstub8.5 - devel:libpython2.6 + devel:libpython2.7 devel:liblua + devel:libpcre${secondaryArchSuffix} " BUILD_PREREQUIRES=" - haiku_devel + haiku${secondaryArchSuffix}_devel cmd:libtoolize cmd:make - cmd:gcc - cmd:g++ - cmd:ld - cmd:pcre_config + cmd:gcc${secondaryArchSuffix} + cmd:g++${secondaryArchSuffix} + cmd:ld${secondaryArchSuffix} cmd:bison cmd:python cmd:perl cmd:lua + ocaml${secondaryArchSuffix} + ruby${secondaryArchSuffix} + openjdk${secondaryArchSuffix} + boost${secondaryArchSuffix}_devel + golang${secondaryArchSuffix} " BUILD() { runConfigure ./configure - make + make $jobArgs } INSTALL()