From 4eea91aa668ebb7c56c6abd73d98b8c1ef0911ea Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Wed, 20 Dec 2017 20:52:17 +0100 Subject: [PATCH] Vim: fix gcc2 build There is no libruby for gcc2, so just disable that. It is optional and not too commonly used. --- app-editors/vim/vim-8.0.1176.recipe | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/app-editors/vim/vim-8.0.1176.recipe b/app-editors/vim/vim-8.0.1176.recipe index b4b577feb..f269d1505 100644 --- a/app-editors/vim/vim-8.0.1176.recipe +++ b/app-editors/vim/vim-8.0.1176.recipe @@ -18,7 +18,7 @@ CHECKSUM_SHA256="1485524d747b2046b9e1ea3bfcf80148e6a9a65e29d972d23cf88152ad9dcca SOURCE_DIR="vim-$portVersion" PATCHES="vim-$portVersion.patchset" -ARCHITECTURES="?x86_gcc2 ?x86 x86_64" +ARCHITECTURES="x86_gcc2 ?x86 x86_64" PROVIDES=" vim = $portVersion @@ -50,9 +50,15 @@ BUILD_REQUIRES=" devel:libintl # devel:liblua devel:libncurses - devel:libruby devel:libtclstub8.5 +" + +if [ $effectiveTargetArchitecture != "x86_gcc2" ] ; then + BUILD_REQUIRES+=" + devel:libruby " +fi + BUILD_PREREQUIRES=" cmd:autoconf cmd:find