1 --- blt2.4z/library/Makefile.in.orig 2008-01-06 20:06:26.000000000 -0800
2 +++ blt2.4z/library/Makefile.in 2008-01-07 14:52:17.000000000 -0800
6 scriptdir = @BLT_LIBRARY@
7 +# This should really be set by a configure switch. For now it's a hack
9 +pkglibdir = @libdir@/tcl@TCL_VERSION@/blt$(version)
12 INSTALL_DATA = @INSTALL_DATA@
16 instdirs = $(prefix) $(exec_prefix) \
17 - $(libdir) $(prefix)/lib $(scriptdir) $(scriptdir)/dd_protocols
18 + $(libdir) $(prefix)/lib $(scriptdir) \
19 + $(pkglibdir) $(scriptdir)/dd_protocols
24 for i in $(miscFiles) ; do \
25 $(INSTALL_DATA) $(srcdir)/$$i $(INSTALL_ROOT)$(scriptdir) ; \
27 - $(INSTALL_DATA) pkgIndex.tcl $(scriptdir)
28 + $(INSTALL_DATA) pkgIndex.tcl $(INSTALL_ROOT)$(pkglibdir)
31 @for i in $(instdirs) ; do \
32 if test -d $(INSTALL_ROOT)$$i ; then \
35 - echo " mkdir $(INSTALL_ROOT)$$i" ; \
36 - mkdir $(INSTALL_ROOT)$$i ; \
37 + echo " mkdir -p $(INSTALL_ROOT)$$i" ; \
38 + mkdir -p $(INSTALL_ROOT)$$i ; \
42 --- blt2.4z/configure.in.orig 2008-01-06 22:48:37.000000000 -0800
43 +++ blt2.4z/configure.in 2008-01-06 22:49:57.000000000 -0800
45 BLT_VERSION=${BLT_MAJOR_VERSION}.${BLT_MINOR_VERSION}
47 # Add BLT to the run path
48 -libdir=${exec_prefix}/lib
49 +if test "x${libdir}" == "x" ; then
50 + libdir=${exec_prefix}/lib
53 if test "x${libdir}" != "x" -a \
54 "${libdir}" != "/usr/lib" -a \
55 --- blt2.4z/demos/Makefile.in.orig 2008-01-06 20:11:25.000000000 -0800
56 +++ blt2.4z/demos/Makefile.in 2008-01-06 22:02:50.000000000 -0800
58 exec_prefix = @exec_prefix@
59 version = @BLT_VERSION@
61 -scriptdir = $(prefix)/lib/blt$(version)
62 +scriptdir = @BLT_LIBRARY@
63 destdir = $(scriptdir)/demos
66 --- blt2.4z/configure.orig 2008-01-06 22:48:41.000000000 -0800
67 +++ blt2.4z/configure 2008-01-06 22:49:57.000000000 -0800
69 BLT_VERSION=${BLT_MAJOR_VERSION}.${BLT_MINOR_VERSION}
71 # Add BLT to the run path
72 -libdir=${exec_prefix}/lib
73 +if test "x${libdir}" == "x" ; then
74 + libdir=${exec_prefix}/lib
77 if test "x${libdir}" != "x" -a \
78 "${libdir}" != "/usr/lib" -a \
79 --- blt2.4z/Makefile.in.orig 2008-01-06 13:27:01.000000000 -0800
80 +++ blt2.4z/Makefile.in 2008-01-06 22:03:26.000000000 -0800
82 includedir = @includedir@
84 version = @BLT_VERSION@
85 -scriptdir = $(prefix)/lib/blt$(version)
86 +scriptdir = @BLT_LIBRARY@
88 instdirs = $(prefix) \
93 INSTALL_DATA = @INSTALL_DATA@
95 +INSTALL_ROOT = @INSTALL_ROOT@
100 (cd library; $(MAKE) install)
101 (cd man; $(MAKE) install)
102 (cd demos; $(MAKE) install)
103 - $(INSTALL_DATA) $(srcdir)/README $(INSTALL_DIR)$(scriptdir)
104 - $(INSTALL_DATA) $(srcdir)/PROBLEMS $(INSTALL_DIR)$(scriptdir)
105 - $(INSTALL_DATA) $(srcdir)/NEWS $(INSTALL_DIR)$(scriptdir)
106 + $(INSTALL_DATA) $(srcdir)/README $(INSTALL_ROOT)$(scriptdir)
107 + $(INSTALL_DATA) $(srcdir)/PROBLEMS $(INSTALL_ROOT)$(scriptdir)
108 + $(INSTALL_DATA) $(srcdir)/NEWS $(INSTALL_ROOT)$(scriptdir)
111 @for i in $(instdirs) ; do \
112 if test -d $(INSTALL_ROOT)$$i ; then \
115 - echo " mkdir $(INSTALL_ROOT)$$i" ; \
116 - mkdir $(INSTALL_ROOT)$$i ; \
117 + echo " mkdir -p $(INSTALL_ROOT)$$i" ; \
118 + mkdir -p $(INSTALL_ROOT)$$i ; \
122 --- blt2.4z/src/Makefile.in.orig 2008-01-06 22:27:58.000000000 -0800
123 +++ blt2.4z/src/Makefile.in 2008-01-06 22:28:06.000000000 -0800
126 bindir = $(exec_prefix)/bin
127 exec_prefix = @exec_prefix@
128 -incdir = $(prefix)/include
129 +incdir = @includedir@
131 scriptdir = $(exec_prefix)/lib
133 --- blt2.4z/man/Makefile.in.orig 2008-01-06 20:09:02.000000000 -0800
134 +++ blt2.4z/man/Makefile.in 2008-01-06 22:57:34.000000000 -0800
137 instdirs = $(mandir) $(mandir)/mann $(mandir)/man3
139 -MAN_N = BLT.n barchart.n beep.n bgexec.n bitmap.n \
140 +MAN_N = BLT.n barchart.n beep.n bgexec.n bltbitmap.n \
141 bltdebug.n busy.n container.n cutbuffer.n \
142 - dragdrop.n eps.n graph.n hierbox.n \
143 + dragdrop.n eps.n bltgraph.n hierbox.n \
144 hiertable.n htext.n spline.n stripchart.n \
145 table.n tabset.n tile.n tree.n treeview.n vector.n \
148 if test -d $(INSTALL_ROOT)$$i ; then \
151 - echo " mkdir $(INSTALL_ROOT)$$i" ; \
152 - mkdir $(INSTALL_ROOT)$$i ; \
153 + echo " mkdir -p $(INSTALL_ROOT)$$i" ; \
154 + mkdir -p $(INSTALL_ROOT)$$i ; \