Check-in [b9edcbd4d2]
Overview
Comment:Updated to not support multiarch Mac OS X builds in tcc4tcl (which won't actually work with it)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:b9edcbd4d2ba511b6b3f810ae8e477800fe700e4
User & Date: rkeene on 2014-06-22 00:51:23
Original Comment: Updated to not support multiarch Mac OS X builds in tcc4tcl (which won\'t actually work with it)
Other Links: manifest | tags
Context
2014-06-23
20:18
tcc4tcl 0.21 check-in: 276fccc140 user: rkeene tags: trunk
2014-06-22
00:51
Updated to not support multiarch Mac OS X builds in tcc4tcl (which won't actually work with it) check-in: b9edcbd4d2 user: rkeene tags: trunk
2014-06-21
22:06
Updated tcc4tcl to rely on Tcl 8.5 or newer check-in: ba02ddd48a user: rkeene tags: trunk
Changes

Modified server/buildpkgs/common.sh from [1464904b80] to [d2befa5f72].

    61     61   		fi
    62     62   	done
    63     63   
    64     64   	rm -rf out
    65     65   
    66     66   	exit 0
    67     67   }
           68  +
           69  +function not_platforms_regexp () {
           70  +	local platform_re
           71  +
           72  +	for platform_re in "$@"; do
           73  +		if echo "${PLATFORM}" | grep -- "${platform_re}" >/dev/null; then
           74  +			rm -rf out
           75  +
           76  +			exit 0
           77  +		fi
           78  +	done
           79  +
           80  +	return 0
           81  +}
    68     82   
    69     83   function download () {
    70     84   	local url file
    71     85   
    72     86   	file="$1"
    73     87   	url="$2"
    74     88   

Modified server/buildpkgs/tcc4tcl/build.sh from [c24828e782] to [bd86b0ccb4].

    10     10   
    11     11   # Load common functions
    12     12   source ../common.sh
    13     13   
    14     14   # Do not build if the "tcl" platform has been requested
    15     15   not_platforms 'tcl'
    16     16   
           17  +# Do not support multiarch builds
           18  +not_platforms_regexp '^macosx.*i386-x86_64' '^macosx.*x86_64-i386'
           19  +
    17     20   # Requires Tcl 8.5 or newer
    18     21   setup_tcl 8.5 8.6 || exit 1
    19     22   
    20     23   # Download source
    21     24   download_src
    22     25   
    23     26   # Extract package