diff options
Diffstat (limited to 'cad/tkgate/files/patch-configure')
-rw-r--r-- | cad/tkgate/files/patch-configure | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/cad/tkgate/files/patch-configure b/cad/tkgate/files/patch-configure new file mode 100644 index 000000000000..f55d9176c7ef --- /dev/null +++ b/cad/tkgate/files/patch-configure @@ -0,0 +1,36 @@ +--- configure.orig 2009-09-27 02:24:57.000000000 +0200 ++++ configure 2013-05-14 15:47:22.000000000 +0200 +@@ -2488,17 +2488,17 @@ + # + # Tcl/Tk version we will try to use (from most favored to least favored) + # +-TKGATE_TCLTK_VERSIONS="8.5 8.4 8.3" ++TKGATE_TCLTK_VERSIONS="%%TCL_VER%%" + + # + # Directories to search for include files + # +-TKGATE_INCDIRS="/usr/X11R6/include /usr/X11/include /pkgs/include /usr/local/include /usr/openwin/include /usr/X/include /usr/include /sw/include /opt/local/include" ++TKGATE_INCDIRS="%%LOCALBASE%%/include %%TCL_INCLUDEDIR%%" + + # + # Directories to search for library files + # +-TKGATE_LIBDIRS="/usr/X11R6/lib /usr/X11/lib /pkgs/lib /usr/local/lib /usr/lib /sw/lib /opt/local/lib" ++TKGATE_LIBDIRS="%%LOCALBASE%%/lib" + + # + # Libraries we may need if available. +@@ -23820,10 +23820,10 @@ + else + TCLTK_VERSION=$TCL_VERSION + +- TCL_LIB=$TCL_LIB_SPEC ++ TCL_LIB="$TCL_LIB_SPEC $TCL_STUB_LIB_SPEC" + TCL_LPATH="" + TCL_IPATH=$TCL_INCLUDE_SPEC +- TK_LIB=$TK_LIB_SPEC ++ TK_LIB="$TK_LIB_SPEC $TK_STU_LIB_SPEC" + TK_LPATH="" + TK_IPATH=$TK_INCLUDE_SPEC + |