Vim: fix gcc2 build

There is no libruby for gcc2, so just disable that. It is optional and
not too commonly used.
This commit is contained in:
Adrien Destugues
2017-12-20 20:52:17 +01:00
parent b17ac441ce
commit 4eea91aa66

View File

@@ -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