[wordnet] fix build with tcl-8.6 (#1102111) append `-DUSE_INTERP_RESULT` to C[XX]FLAGS on Fedora >= 21
Björn Esser
besser82 at fedoraproject.org
Sat May 31 07:49:05 UTC 2014
commit e69e0d210e177af0f17b174065f1ff108e84b208
Author: Björn Esser <bjoern.esser at gmail.com>
Date: Sat May 31 09:44:50 2014 +0200
fix build with tcl-8.6 (#1102111)
append `-DUSE_INTERP_RESULT` to C[XX]FLAGS on Fedora >= 21
wordnet.spec | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/wordnet.spec b/wordnet.spec
index 0df6d3f..8c37c73 100644
--- a/wordnet.spec
+++ b/wordnet.spec
@@ -1,6 +1,6 @@
Name: wordnet
Version: 3.0
-Release: 22%{?dist}
+Release: 23%{?dist}
Summary: A lexical database for the English language
Group: Applications/Text
@@ -87,6 +87,10 @@ rm -rf include/tk
libtoolize && aclocal
autoupdate
autoreconf -i
+%if 0%{?fedora} >= 21
+export CFLAGS="%{?optflags} -DUSE_INTERP_RESULT"
+export CXXFLAGS="%{?optflags} -DUSE_INTERP_RESULT"
+%endif #0%{?fedora} >= 21
%configure --enable-static=no --prefix=%{_datadir}/wordnet-%{version}/
make %{?_smp_mflags}
@@ -134,6 +138,10 @@ rm -rf doc/{html,ps,pdf}/Makefile*
%changelog
+* Sat May 31 2014 Björn Esser <bjoern.esser at gmail.com> - 3.0-23
+- fix build with tcl-8.6 (#1102111)
+- append `-DUSE_INTERP_RESULT` to C[XX]FLAGS on Fedora >= 21
+
* Wed May 21 2014 Jaroslav Škarvada <jskarvad at redhat.com> - 3.0-22
- Rebuilt for https://fedoraproject.org/wiki/Changes/f21tcl86
More information about the scm-commits
mailing list