aboutsummaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-11-30 04:22:05 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-11-30 04:22:05 +0000
commit6e7395351a8931da7574b14d9cc28d6e19118240 (patch)
tree9aa56505911d51ee4289a04208a05231919d080d /packages
parentde0e82382cdd28fc35b334b1dbfafec4575ed42f (diff)
fixed building with older Tcl/Tk Frameworks, like the included Apple versions
svn path=/trunk/; revision=6530
Diffstat (limited to 'packages')
-rw-r--r--packages/darwin_app/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/darwin_app/Makefile b/packages/darwin_app/Makefile
index 6fce0fee..24a13d49 100644
--- a/packages/darwin_app/Makefile
+++ b/packages/darwin_app/Makefile
@@ -14,7 +14,7 @@ BUILDLAYOUT_DIR = $(cvs_root_dir)/packages
include $(BUILDLAYOUT_DIR)/Makefile.buildlayout
-WISH_FRAMEWORKS_SOURCE := $(shell (test -e "/Library/Frameworks/Tk.framework/Tk" && echo "/Library/Frameworks") || /System/Library/Frameworks)
+WISH_FRAMEWORKS_SOURCE := $(shell (test -e "/Library/Frameworks/Tk.framework/Tk" && echo "/Library/Frameworks") || echo /System/Library/Frameworks)
WISH_SOURCE = $(WISH_FRAMEWORKS_SOURCE)/Tk.framework/Resources
# Wish Shell.app changed to Wish.app in TclTk 8.4.10
WISH_NAME := $(shell ( test -d $(WISH_SOURCE)/Wish.app && echo Wish) \
@@ -124,8 +124,8 @@ darwin_app_wrapper: Info.plist
} && \
fix_install_id $(PD_APP_CONTENTS)/Frameworks/Tcl.framework/Tcl Tcl && \
fix_install_id $(PD_APP_CONTENTS)/Frameworks/Tk.framework/Tk Tk && \
- fix_install_name $(PD_APP_CONTENTS)/MacOS/Wish Tcl && \
- fix_install_name $(PD_APP_CONTENTS)/MacOS/Wish Tk
+ fix_install_name "$(PD_APP_CONTENTS)/MacOS/$(WISH_NAME)" Tcl && \
+ fix_install_name "$(PD_APP_CONTENTS)/MacOS/$(WISH_NAME)" Tk
# set up app wrapper
install -d "$(PD_APP_CONTENTS)/Resources/Scripts"
install -m0644 -p Info.plist "$(PD_APP_CONTENTS)"