Overview
Comment: | Slightly better handling of linkadd, may need to make this more generic in the future |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: | 73ac42ec6a14b220829da4efcfd20411f2076829 |
User & Date: | rkeene on 2019-01-22 22:52:08 |
Other Links: | manifest | tags |
Context
2019-01-22
| ||
22:57 | Better handling of host platform detection check-in: e49dbb5c95 user: rkeene tags: trunk | |
22:52 | Slightly better handling of linkadd, may need to make this more generic in the future check-in: 73ac42ec6a user: rkeene tags: trunk | |
2019-01-18
| ||
20:05 | Upgrade to Nano 1.2 check-in: 888ee5cc7a user: rkeene tags: trunk | |
Changes
Modified lmdb/build.sh from [6456b2e9b0] to [2f79707b46].
4 4 5 5 version="0.4.0" 6 6 url="https://github.com/ray2501/tcl-lmdb/archive/${version}.tar.gz" 7 7 sha256='d19a19376da6716a1ed159a918e631030491f8b6a4ef9e72a4221481b24b2e40' 8 8 9 9 function postinstall() { 10 10 local name 11 + local isWindows 12 + 13 + # Windows-only 14 + isWindows='false' 15 + if [ "${KC_CROSSCOMPILE}" = '1' ]; then 16 + case "${KC_CROSSCOMPILE_HOST_OS}" in 17 + *-cygwin|*-mingw32|*-mingw32-*|*-cygwin-*) 18 + isWindows='true' 19 + ;; 20 + esac 21 + else 22 + case "${OSTYPE}" in 23 + msys|win*|cygwin) 24 + isWindows='true' 25 + ;; 26 + esac 27 + fi 11 28 12 - find "${installdir}" -type -f -name '*.a' | while IFS='' read -r name; do 13 - echo '-lntdll' > "${name}.linkadd" 14 - done 29 + if [ "${isWindows}" = 'true' ]; then 30 + find "${installdir}" -type -f -name '*.a' | while IFS='' read -r name; do 31 + echo '-lntdll' > "${name}.linkadd" 32 + done 33 + fi 15 34 }
Added lmdb/patches/tcl-lmdb-0.4.0-fixrobust.diff version [672b2e5046].
1 +diff --no-dereference -uNr tcl_lmdb-0.4.0.orig/Makefile.in tcl_lmdb-0.4.0-fixrobust/Makefile.in 2 +--- tcl_lmdb-0.4.0.orig/Makefile.in 2018-06-22 10:17:46.000000000 -0500 3 ++++ tcl_lmdb-0.4.0-fixrobust/Makefile.in 2019-01-22 15:51:11.244784351 -0600 4 +@@ -149,17 +149,6 @@ 5 + 6 + PKG_CFLAGS = @PKG_CFLAGS@ 7 + 8 +-# Workaround for glibc pthread robust mutex support (glibc < 2.12) fix 9 +-ifneq ("$(OS)","Windows_NT") 10 +-UNAME_S := $(shell uname -s) 11 +-ifeq ($(UNAME_S),Linux) 12 +-GLIBCCHECK := $(shell expr `ldd --version | grep ^ldd | sed 's/^.* //g'` \< 2.12) 13 +-ifeq "$(GLIBCCHECK)" "1" 14 +- PKG_CFLAGS += -DMDB_USE_ROBUST=0 15 +-endif 16 +-endif 17 +-endif 18 +- 19 + # TCL_DEFS is not strictly need here, but if you remove it, then you 20 + # must make sure that configure.ac checks for the necessary components 21 + # that your library may use. TCL_DEFS can actually be a problem if