Check-in [0916e5fc45]
Overview
SHA1:0916e5fc45f36220c66e14bc69164440bea00fde
Date: 2016-09-28 13:15:42
User: rkeene
Comment:Cleaned up extraneous error with newer versions of Tcl
Timelines: family | ancestors | descendants | both | trunk
Downloads: Tarball | ZIP archive
Other Links: files | file ages | folders | manifest
Tags And Properties
Context
2016-09-28
13:19
[4ceaee58af] Updated remote build scripts to use more generic names (user: rkeene, tags: trunk)
13:15
[0916e5fc45] Cleaned up extraneous error with newer versions of Tcl (user: rkeene, tags: trunk)
13:04
[a1bf0a63b6] Added AIX/POWER to web interface (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"