summaryrefslogtreecommitdiffstats
path: root/editors/vim/DEPENDS
diff options
context:
space:
mode:
Diffstat (limited to 'editors/vim/DEPENDS')
-rwxr-xr-xeditors/vim/DEPENDS31
1 files changed, 16 insertions, 15 deletions
diff --git a/editors/vim/DEPENDS b/editors/vim/DEPENDS
index 8110b44ed2..359c523524 100755
--- a/editors/vim/DEPENDS
+++ b/editors/vim/DEPENDS
@@ -1,4 +1,4 @@
-if [[ "${VIM_CVS}" == "y" ]]
+if [[ "${VIM_BRANCH}" == "scm" ]]
then depends CVS
fi &&
@@ -16,7 +16,7 @@ if [[ "${VIM_FEATURES}" != "tiny" ]] &&
[[ "${VIM_FEATURES}" != "small" ]]
then
- optional_depends lua \
+ optional_depends lua51 \
"--enable-luainterp" \
"" \
"to enable Lua interpreter" &&
@@ -58,16 +58,17 @@ optional_depends acl \
"--disable-acl" \
"would you like file system access control list support?" &&
-if [ "$GVIM_GUI" = "gtk" ]; then
- depends gtk+
-elif [ "$GVIM_GUI" = "gnome" ]; then
- depends gnome-libs
-elif [ "$GVIM_GUI" = "gtk2" ]; then
- depends gtk+2
-elif [ "$GVIM_GUI" = "gnome2" ]; then
- depends libgnomeui
-elif [ "$GVIM_GUI" = "motif" ]; then
- depends MOTIF
-elif [ "$GVIM_GUI" = "athena" ]; then
- depends xorg-libs
-fi
+case "$GVIM_GUI" in
+gtk)
+ depends gtk+ ;;
+gnome)
+ depends gnome-libs ;;
+gtk2)
+ depends gtk+2 ;;
+gnome2)
+ depends libgnomeui ;;
+motif)
+ depends MOTIF ;;
+athena)
+ depends xorg-libs ;;
+esac