]> git.pld-linux.org Git - packages/vim.git/commitdiff
add x bcond
authorJan Palus <atler@pld-linux.org>
Mon, 16 Dec 2019 00:01:32 +0000 (01:01 +0100)
committerJan Palus <atler@pld-linux.org>
Mon, 16 Dec 2019 00:02:43 +0000 (01:02 +0100)
vim.spec

index 6105c3cc45a9f131a6119d9f389188be2883eae1..d72f8ae0ef617d31f06d38d2446b3a1077828a18 100644 (file)
--- a/vim.spec
+++ b/vim.spec
@@ -16,6 +16,7 @@
 %bcond_with    python3         # with Python 3 interp in vim package
 %bcond_with    ruby            # with Ruby interp in vim package
 %bcond_with    tcl             # with Tcl interp
+%bcond_with    x               # with X11 support
 %bcond_without selinux         # without selinux support
 %bcond_without home_etc        # without home_etc support
 
@@ -116,14 +117,14 @@ BuildRequires:    attr-devel
 BuildRequires: autoconf >= 2.12
 BuildRequires: gpm-devel
 %if "%{pld_release}" == "ac"
-%if %{with athena} || %{with x11}
+%if %{with athena} || %{with x11} || %{with x}
 BuildRequires: XFree86-devel
 %endif
 BuildRequires: gettext-devel
 %else
 BuildRequires: gettext-tools
 %{?with_athena:BuildRequires:  xorg-lib-libXaw-devel}
-%if %{with x11} || %{with gui}
+%if %{with x11} || %{with gui} || %{with x}
 BuildRequires: xorg-lib-libICE-devel
 BuildRequires: xorg-lib-libSM-devel
 BuildRequires: xorg-lib-libX11-devel
@@ -909,7 +910,7 @@ build vim.light \
 
 build vim.ncurses \
        --disable-gui \
-       --without-x \
+       %{__with_without x} \
        --disable-canberra \
        --with-features=huge
 
This page took 0.043614 seconds and 4 git commands to generate.