]> git.pld-linux.org Git - packages/tk.git/blame - tk-lib64.patch
- really fix tk on arch using lib64
[packages/tk.git] / tk-lib64.patch
CommitLineData
83e890df
AM
1diff -urN tk8.5a3.org/unix/Makefile.in tk8.5a3/unix/Makefile.in
2--- tk8.5a3.org/unix/Makefile.in 2005-06-04 23:00:25.000000000 +0200
3+++ tk8.5a3/unix/Makefile.in 2005-06-17 23:59:45.195045312 +0200
4@@ -47,7 +47,7 @@
f765d731 5 # Directory from which applications will reference the library of Tcl
6 # scripts (note: you can set the TK_LIBRARY environment variable at
7 # run-time to override the compiled-in location):
83e890df 8-TK_LIBRARY = @TK_LIBRARY@
f765d731 9+TK_LIBRARY = $(libdir)/tk$(VERSION)
10
11 # Path to use at runtime to refer to LIB_INSTALL_DIR:
12 LIB_RUNTIME_DIR = $(libdir)
f684b4be
JR
13@@ -701,17 +701,7 @@
14 rm -f "$(PKG_INDEX)"; \
15 (\
16 echo "if {[catch {package present Tcl 8.5.0}]} return";\
17- relative=`echo | awk '{ORS=" "; split("$(TK_PKG_DIR)",a,"/"); for (f in a) {print ".."}}'`;\
18- if test "x$(DLL_INSTALL_DIR)" != "x$(BIN_INSTALL_DIR)"; then \
19- echo "package ifneeded Tk $(MAJOR_VERSION).$(MINOR_VERSION)$(PATCH_LEVEL) [list load [file normalize [file join \$$dir $${relative}$(TK_LIB_FILE)]] Tk]";\
20- else \
21- echo "if {(\$$::tcl_platform(platform) eq \"unix\") && ([info exists ::env(DISPLAY)]";\
22- echo " || ([info exists ::argv] && (\"-display\" in \$$::argv)))} {";\
23- echo " package ifneeded Tk $(MAJOR_VERSION).$(MINOR_VERSION)$(PATCH_LEVEL) [list load [file normalize [file join \$$dir $${relative}.. bin $(TK_LIB_FILE)]] Tk]";\
24- echo "} else {";\
25- echo " package ifneeded Tk $(MAJOR_VERSION).$(MINOR_VERSION)$(PATCH_LEVEL) [list load [file normalize [file join \$$dir $${relative}.. bin tk${MAJOR_VERSION}${MINOR_VERSION}.dll]] Tk]";\
26- echo "}";\
27- fi \
28+ echo "package ifneeded Tk $(MAJOR_VERSION).$(MINOR_VERSION)$(PATCH_LEVEL) [list load $(DLL_INSTALL_DIR)/$(TK_LIB_FILE) Tk]";\
29 ) > "$(PKG_INDEX)"; \
30 fi
31 @echo "Installing $(LIB_FILE) to $(DLL_INSTALL_DIR)/"
This page took 0.190997 seconds and 4 git commands to generate.