Check-in [0916e5fc45]
Overview
Comment:Cleaned up extraneous error with newer versions of Tcl
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:0916e5fc45f36220c66e14bc69164440bea00fde
User & Date: rkeene on 2016-09-28 13:15:42
Other Links: manifest | tags
Context
2016-09-28
13:19
Updated remote build scripts to use more generic names check-in: 4ceaee58af user: rkeene tags: trunk
13:15
Cleaned up extraneous error with newer versions of Tcl check-in: 0916e5fc45 user: rkeene tags: trunk
13:04
Added AIX/POWER to web interface check-in: a1bf0a63b6 user: rkeene tags: trunk
Changes

Modified tcl/patchscripts/force-static-pkgs.sh from [068e7f94db] to [a97fffda22].

1
2
3
4
5
6
7




8
9
10
11
12
13
14
#! /usr/bin/env bash

if [ "${KC_TCL_STATICPKGS}" != '1' ]; then
	exit 0
fi

for makefile in {unix,win,macosx}/Makefile.in; do




	sed 's@--enable-shared@--disable-shared CFLAGS="-fPIC" @g' "${makefile}" > "${makefile}.new"
	cat "${makefile}.new" > "${makefile}"
	rm -f "${makefile}.new"
done

for pkgIndexFile in pkgs/*/pkgIndex*; do
	sed 's@load \[file join [^]]*\]@load {}@;s@\(Thread.* \[list load {}\)\]@\1 Thread]@' "${pkgIndexFile}" > "${pkgIndexFile}.new"







>
>
>
>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#! /usr/bin/env bash

if [ "${KC_TCL_STATICPKGS}" != '1' ]; then
	exit 0
fi

for makefile in {unix,win,macosx}/Makefile.in; do
	if [ ! -f "${makefile}" ]; then
		continue
	fi

	sed 's@--enable-shared@--disable-shared CFLAGS="-fPIC" @g' "${makefile}" > "${makefile}.new"
	cat "${makefile}.new" > "${makefile}"
	rm -f "${makefile}.new"
done

for pkgIndexFile in pkgs/*/pkgIndex*; do
	sed 's@load \[file join [^]]*\]@load {}@;s@\(Thread.* \[list load {}\)\]@\1 Thread]@' "${pkgIndexFile}" > "${pkgIndexFile}.new"