[packages/R] - fixed Tcl/Tk support - rel 7
baggins
baggins at pld-linux.org
Wed Oct 17 14:32:32 CEST 2012
commit 561bbd9133e2b209d7f68fcdeec515adb5528cb3
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Wed Oct 17 14:32:18 2012 +0200
- fixed Tcl/Tk support
- rel 7
R.spec | 16 ++++++++++++----
1 file changed, 12 insertions(+), 4 deletions(-)
---
diff --git a/R.spec b/R.spec
index 2497858..62b171a 100644
--- a/R.spec
+++ b/R.spec
@@ -15,7 +15,7 @@ Summary: A language for data analysis and graphics
Summary(pl.UTF-8): Język do analizy danych oraz grafiki
Name: R
Version: 2.15.1
-Release: 6
+Release: 7
License: Mixed (distributable), mostly GPL v2+
Group: Development/Languages
# CRAN master site: ftp://cran.r-project.org/pub/R/src/
@@ -45,14 +45,16 @@ BuildRequires: perl-base >= 1:5.6
BuildRequires: pkgconfig
BuildRequires: readline-devel
BuildRequires: rpm-perlprov
-%{?with_tcl:BuildRequires: tcl-devel >= 8.4}
+%if %{with tcl}
+BuildRequires: tcl-devel >= 8.4
+BuildRequires: tk-devel >= 8.4
+%endif
%if %{with docs}
BuildRequires: tetex-dvips
BuildRequires: tetex-latex
BuildRequires: tetex-pdftex
BuildRequires: texinfo-texi2dvi >= 4.7
%endif
-%{?with_tcl:BuildRequires: tk-devel >= 8.4}
BuildRequires: xorg-lib-libX11-devel
BuildRequires: xorg-lib-libXmu-devel
BuildRequires: xorg-lib-libXt-devel
@@ -123,7 +125,13 @@ cd build
--with-system-pcre \
--with-system-xz \
--with-system-zlib \
- --with%{!?with_tcl:out}-tcltk \
+%if %{with tcl}
+ --with-tcltk \
+ --with-tcl-config=/usr/lib/tclConfig.sh \
+ --with-tk-config=/usr/lib/tkConfig.sh \
+%else
+ --without-tcltk \
+%endif
--with-x
%{__make} -j1
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/R.git/commitdiff/561bbd9133e2b209d7f68fcdeec515adb5528cb3
More information about the pld-cvs-commit
mailing list