packages: tcl/tcl.spec - rel 2; disable threads - broken, see: http://group...

arekm arekm at pld-linux.org
Wed Jan 26 22:47:09 CET 2011


Author: arekm                        Date: Wed Jan 26 21:47:09 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- rel 2; disable threads - broken, see:
http://groups.google.com/group/comp.lang.tcl/msg/ce6a1324bada8db0
http://sourceforge.net/tracker/index.php?func=detail&aid=1470152&group_id=10894&atid=110894
http://coding.derkeiler.com/Archive/Tcl/comp.lang.tcl/2008-01/msg00017.html

---- Files affected:
packages/tcl:
   tcl.spec (1.144 -> 1.145) 

---- Diffs:

================================================================
Index: packages/tcl/tcl.spec
diff -u packages/tcl/tcl.spec:1.144 packages/tcl/tcl.spec:1.145
--- packages/tcl/tcl.spec:1.144	Sat Oct  2 08:44:04 2010
+++ packages/tcl/tcl.spec	Wed Jan 26 22:47:03 2011
@@ -3,6 +3,7 @@
 # - why is tclConfig.sh in /usr/lib on lib64 platform?
 #
 # Conditional build:
+%bcond_with	threads
 %bcond_without	tests	# don't perform "make test"
 #
 %define		major	8.5
@@ -15,7 +16,7 @@
 Summary(uk.UTF-8):	Tool Command Language - вбудовувана мова скриптів
 Name:		tcl
 Version:	%{major}.%{minor}
-Release:	1
+Release:	2
 License:	BSD
 Group:		Development/Languages/Tcl
 Source0:	http://downloads.sourceforge.net/tcl/%{name}%{version}-src.tar.gz
@@ -126,12 +127,14 @@
 %patch9 -p1
 
 %build
+%if %{with threads}
 # Make sure we have /proc mounted - otherwise pthread_getattr_np will fail
 # https://sourceforge.net/tracker/index.php?func=detail&aid=1815573&group_id=10894&atid=110894
 if [ ! -r /proc/self/maps ]; then
 		echo "You need to have /proc mounted in order to build this package!"
 		exit 1
 fi
+%endif
 
 cd unix
 sed -i -e "s/^CFLAGS_OPTIMIZE.*/CFLAGS_OPTIMIZE=%{rpmcflags} -D__NO_STRING_INLINES -D__NO_MATH_INLINES -D_REENTRANT -DTCL_NO_STACK_CHECK=1/" \
@@ -140,7 +143,7 @@
 %configure \
 	--enable-langinfo \
 	--enable-shared \
-	--enable-threads \
+	--%{?with_threads:en}%{!?with_threads:dis}able-threads \
 	--enable-64bit \
 	--without-tzdata
 %{__make}
@@ -373,6 +376,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.145  2011/01/26 21:47:03  arekm
+- rel 2; disable threads - broken, see:
+http://groups.google.com/group/comp.lang.tcl/msg/ce6a1324bada8db0
+http://sourceforge.net/tracker/index.php?func=detail&aid=1470152&group_id=10894&atid=110894
+http://coding.derkeiler.com/Archive/Tcl/comp.lang.tcl/2008-01/msg00017.html
+
 Revision 1.144  2010/10/02 06:44:04  qboosh
 - updated to 8.5.9
 - updated readline,mannames,hidden patches
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/tcl/tcl.spec?r1=1.144&r2=1.145&f=u



More information about the pld-cvs-commit mailing list