editors/vim: Unhook motif flavor

This commit is contained in:
Bastard Operator from Hell 2025-05-29 19:36:20 +02:00
parent f3611000c4
commit 43b17c114c
No known key found for this signature in database
GPG Key ID: BDB9B5A617C0BC91

View File

@ -40,7 +40,7 @@ VIM_VER= ${PORTNAME}${PORTVERSION:R:S|.||g}
# Flavors {{{1
# FLAVORS are used to build various Vim GUIs. The default flavor (`vim') is
# console-only.
FLAVORS= console motif x11 tiny
FLAVORS= console x11 tiny
FLAVOR?= ${FLAVORS:[1]}
# Register conflicts with all other flavors
CONFLICTS_INSTALL= ${FLAVORS:N${FLAVOR}:S/^/vim-/}
@ -60,14 +60,6 @@ GUI= no
CONFIGURE_ARGS+=--without-x
PLIST= ${.CURDIR}/pkg-plist-tiny
.elif ${FLAVOR:U} == motif
GUI= motif
CONFIGURE_ARGS+=--enable-xim --enable-fontset --with-motif=lib="${MOTIFLIB}"
CONFIGURE_ENV+= MOTIFHOME=${LOCALBASE}
PLIST_SUB+= GUI="" DESKTOP="@comment "
USES+= motif xorg
USE_XORG= ice sm x11 xmu xt
.elif ${FLAVOR:U} == x11
GUI= x11
CONFIGURE_ARGS+=--with-x