summaryrefslogtreecommitdiff
path: root/dev-tcltk/tkXwin/files/1.0-Makefile.in.diff
blob: bd10890c719c390700ab66cbefe4655bacd758c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- Makefile.in.orig	2003-02-01 22:03:34.000000000 -0500
+++ Makefile.in	2003-02-01 22:04:39.000000000 -0500
@@ -432,14 +432,14 @@
 
 
 install-exec-hook:
-	$(mkinstalldirs) @PKG_TCL@
+	$(mkinstalldirs) $(DESTDIR)@PKG_TCL@
 	echo	"package ifneeded tkXwin"				   \
 		`echo $(VERSION) | awk -F. '{ printf "%s.%s", $$1, $$2 }'` \
-		"[list load $(DESTDIR)$(libdir)/libtkXwin.so]"	   \
-	    > @PKG_TCL@/pkgIndex.tcl
+		"[list load $(libdir)/libtkXwin.so]"	   \
+	    > $(DESTDIR)@PKG_TCL@/pkgIndex.tcl
 	sed -e 's%load .libs/libtkXwin.so%package require tkXwin%' \
 	    < test.tcl      					   \
-	    > @PKG_TCL@/test.tcl
+	    > $(DESTDIR)@PKG_TCL@/test.tcl
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.