File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed
Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change 4747# define CFG_FONTSYSTEM "x11"
4848#endif
4949
50+ /*
51+ The macOS framework build first installs the framework in the build
52+ directory and then copies it to /Library/Frameworks/Tk.framework.
53+ Without these macros the pkgconfig paths point into the build
54+ directory instead of into the installed framework.
55+ */
56+
57+ #if defined(MAC_OSX_TK ) && defined(TK_FRAMEWORK )
58+ #define VERSION_DIR "/Library/Frameworks/Tk.framework/Versions/"TK_VERSION
59+ #define CFG_INSTALL_LIBDIR VERSION_DIR
60+ #define CFG_RUNTIME_LIBDIR CFG_INSTALL_LIBDIR
61+ #define CFG_INSTALL_BINDIR VERSION_DIR
62+ #define CFG_RUNTIME_BINDIR CFG_INSTALL_BINDIR
63+ #define CFG_INSTALL_DOCDIR VERSION_DIR "/Resources/Documentation"
64+ #define CFG_RUNTIME_DOCDIR CFG_INSTALL_DOCDIR
65+ #define CFG_INSTALL_SCRDIR VERSION_DIR "/Resources/Scripts"
66+ #define CFG_RUNTIME_SCRDIR CFG_INSTALL_SCRDIR
67+ #define CFG_INSTALL_INCDIR VERSION_DIR "/Headers"
68+ #define CFG_RUNTIME_INCDIR CFG_INSTALL_INCDIR
69+ #define CFG_INSTALL_DEMODIR VERSION_DIR "/Resources/Scripts/demos"
70+ #define CFG_RUNTIME_DEMODIR CFG_INSTALL_DEMODIR
71+ #endif
72+
5073static const Tcl_Config cfg [] = {
5174 {"fontsystem" , CFG_FONTSYSTEM },
5275
You can’t perform that action at this time.
0 commit comments