summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authordas <das>2003-10-01 14:34:16 (GMT)
committerdas <das>2003-10-01 14:34:16 (GMT)
commitf25f8787bdeaeec13c10e626ea9333487b85c496 (patch)
tree38db0b5ab5b9beb1ce91be5cd1eda0eabda61e68 /macosx
parent155e518a5026e806b429e2643afff3a708e8aff3 (diff)
downloadtcl-f25f8787bdeaeec13c10e626ea9333487b85c496.zip
tcl-f25f8787bdeaeec13c10e626ea9333487b85c496.tar.gz
tcl-f25f8787bdeaeec13c10e626ea9333487b85c496.tar.bz2
* macosx/Makefile: fixed redo prebinding bug when DESTDIR="".
* mac/tclMacResource.c: fixed possible NULL dereference (bdesgraupes).
Diffstat (limited to 'macosx')
-rw-r--r--macosx/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/macosx/Makefile b/macosx/Makefile
index 5be4a84..f3c8e02 100644
--- a/macosx/Makefile
+++ b/macosx/Makefile
@@ -3,7 +3,7 @@
# Makefile to build Tcl on Mac OS X packaged as a Framework
# uses standard unix build system in tcl/unix
#
-# RCS: @(#) $Id: Makefile,v 1.5.2.4 2003/09/25 05:34:18 das Exp $
+# RCS: @(#) $Id: Makefile,v 1.5.2.5 2003/10/01 14:34:16 das Exp $
#
########################################################################################################
@@ -26,7 +26,7 @@ BINDIR ?= ${PREFIX}/bin
MANDIR ?= ${PREFIX}/man
# set to non-empty value to install manpages in addition to html help:
-INSTALL_MANPAGES ?=
+INSTALL_MANPAGES ?=
TCL_PACKAGE_PATH ?= "~/Library/Tcl /Library/Tcl /Network/Library/Tcl /System/Library/Tcl \
~/Library/Frameworks /Library/Frameworks /Network/Library/Frameworks \
@@ -168,7 +168,7 @@ ifeq (${EMBEDDED_BUILD},1)
-rmdir -p "${INSTALL_ROOT}${BINDIR}" 2>&-
else
# redo prebinding
- cd ${INSTALL_ROOT}; \
+ cd ${INSTALL_ROOT}/; \
if [ ! -d usr/lib ]; then mkdir -p usr; ln -fs /usr/lib usr/; RM_USRLIB=1; fi; \
if [ ! -d System ]; then ln -fs /System .; RM_SYSTEM=1; fi; \
redo_prebinding -r . "./${BINDIR}/${TCLSH}"; \