summaryrefslogtreecommitdiff
path: root/x11-toolkits/tix/files/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/tix/files/patch-ac')
-rw-r--r--x11-toolkits/tix/files/patch-ac32
1 files changed, 29 insertions, 3 deletions
diff --git a/x11-toolkits/tix/files/patch-ac b/x11-toolkits/tix/files/patch-ac
index 85bade1b97af..937a18e40784 100644
--- a/x11-toolkits/tix/files/patch-ac
+++ b/x11-toolkits/tix/files/patch-ac
@@ -1,6 +1,6 @@
---- unix-tk4.1/Makefile.in.orig Sat Dec 28 06:15:15 1996
-+++ unix-tk4.1/Makefile.in Mon Dec 30 19:29:02 1996
-@@ -31,7 +31,7 @@
+--- Makefile.in.orig Sun Feb 16 06:12:37 1997
++++ Makefile.in Fri Feb 21 11:18:44 1997
+@@ -29,7 +29,7 @@
# Directory in which to install the library of Tix scripts and demos
# (note: you can set the TIX_LIBRARY environment variable at run-time to
# override the compiled-in location):
@@ -9,3 +9,29 @@
# Directory in which to install the archive libtix.a:
LIB_DIR = $(exec_prefix)/lib
+@@ -70,12 +70,12 @@
+ TK_GENERIC_DIR = $(TK_SRC_DIR)/generic
+
+ # Libraries to use when linking:
+-LIBS = @ITK_BUILD_LIB_SPEC@ @ITCL_BUILD_LIB_SPEC@ \
+- @TK_BUILD_LIB_SPEC@ @TCL_BUILD_LIB_SPEC@ @TK_LIBS@
++LIBS = @ITK_LIB_SPEC@ @ITCL_LIB_SPEC@ \
++ @TK_LIB_SPEC@ @TCL_LIB_SPEC@ @TK_LIBS@
+
+ # Libraries for building a stand-alone Tclsh.
+ #
+-LIBS_TCLONLY = @TCL_BUILD_LIB_SPEC@ @TCL_LIBS@
++LIBS_TCLONLY = @TCL_LIB_SPEC@ @TCL_LIBS@
+
+ RUN_TCLSH = TCL_LIBRARY=$(TCL_SRC_DIR)/library \
+ TK_LIBRARY=$(TK_SRC_DIR)/library \
+@@ -131,7 +131,8 @@
+ CC_SWITCHES = $(CFLAGS) $(AC_FLAGS) -I$(TCL_GENERIC_DIR) \
+ -I$(TCL_SRC_DIR)/unix -I$(TK_GENERIC_DIR) -I$(TK_SRC_DIR)/unix \
+ $(ITCL_CFLAGS) \
+- -I$(GENERIC_DIR) -I$(UNIX_DIR) $(TK_XINCLUDES) $(TIX_SHLIB_CFLAGS)
++ -I$(GENERIC_DIR) -I$(UNIX_DIR) $(TK_XINCLUDES) $(TIX_SHLIB_CFLAGS) \
++ -DTIX_LIBRARY=\"${TIX_LIBRARY}\"
+
+ #----------------------------------------------------------------
+ # The information below should be usable as is. You shouldn't need