Browse Source

automatically enable X11 if present

master
parent
commit
1356214dd2
  1. 12
      tetex/tetex.spec

12
tetex/tetex.spec

@ -23,13 +23,13 @@
##
# package versions
%define V_base 1.0
%define V_src 1.0.7
%define V_texmf 1.0.2
%define V_base 1.0
%define V_src 1.0.7
%define V_texmf 1.0.2
# package options
%ifndef with_x11
%define with_x11 no
%define with_x11 %{l_test -p x11}
%endif
# package information
@ -53,8 +53,8 @@ Source3: ftp://ftp.tex.ac.uk/tex-archive/macros/xmltex/base.zip
# build information
Prefix: %{l_prefix}
BuildRoot: %{l_buildroot}
BuildPreReq: OpenPKG, openpkg >= 20020206, make, infozip, flex, bison
PreReq: OpenPKG, openpkg >= 20020206
BuildPreReq: OpenPKG, openpkg >= 20021002, make, infozip, flex, bison
PreReq: OpenPKG, openpkg >= 20021002
%if "%{with_x11}" == "yes"
BuildPreReq: X11
PreReq: X11

Loading…
Cancel
Save