]> git.pld-linux.org Git - packages/tcl.git/commitdiff
- /proc is currently needed for building and using tcl with threads enabled (waiting... auto/ti/tcl-8_5-0_b1_1
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 24 Oct 2007 20:36:45 +0000 (20:36 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    tcl.spec -> 1.123

tcl.spec

index a287ba8ffdf7ff9ed9d24efccec11ba03e644a24..0d482ff57436b8159b3fef0382c142bef54e9b80 100644 (file)
--- a/tcl.spec
+++ b/tcl.spec
@@ -116,6 +116,13 @@ Pliki nagłówkowe oraz dokumentacja dla Tcl (Tool Command Language).
 %patch6 -p1
 
 %build
+# 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
+
 cd unix
 sed -i -e "s/^CFLAGS_OPTIMIZE.*/CFLAGS_OPTIMIZE=%{rpmcflags} -D__NO_STRING_INLINES -D__NO_MATH_INLINES -D_REENTRANT/" \
        Makefile.in
This page took 0.068483 seconds and 4 git commands to generate.