blob: 5a71d49b370804163b1ba11b46ce11284fc949db (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
$NetBSD: patch-ab,v 1.7 2010/10/03 10:43:03 obache Exp $
--- tcltk/Makefile.in.orig 2000-07-14 15:39:55.000000000 +0000
+++ tcltk/Makefile.in
@@ -96,7 +96,7 @@ HFLAGS = @HFLAGS@
X11_INCLUDE_FLAGS = @XINCLUDES@
-ALL_CFLAGS = $(CFLAGS) $(HFLAGS) -I$(srcdir) -I$(srcdir)/.. -I$(krnsrcdir) -I$(srcdir)/../tcl/generic -I$(srcdir)/../tk/generic $(X11_INCLUDE_FLAGS)
+ALL_CFLAGS = $(CFLAGS) $(HFLAGS) -I$(srcdir) -I$(srcdir)/.. -I$(krnsrcdir) -I$(LOCALBASE)/include/tcl/generic -I$(LOCALBASE)/include/tk/generic $(X11_INCLUDE_FLAGS)
.c.o:
$(CC) -c $(ALL_CFLAGS) $<
@@ -125,8 +125,8 @@ libtkiapp.a: tkiapp.o
install: all install-only
install-only:
- $(INSTALL_DATA) $(srcdir)/tkconq.tcl $(datadir)
- $(INSTALL_DATA) $(srcdir)/imfapp.tcl $(datadir)
+ $(INSTALL_DATA) $(srcdir)/tkconq.tcl $(DESTDIR)$(datadir)
+ $(INSTALL_DATA) $(srcdir)/imfapp.tcl $(DESTDIR)$(datadir)
# Usual cleaning, and flushing of anything junk-like.
@@ -140,7 +140,7 @@ distclean: clean
realclean: distclean
Makefile: $(srcdir)/Makefile.in
- cd .. \
+ cd .. \
&& CONFIG_FILES=tcltk/$@ CONFIG_HEADERS= $(SHELL) ./config.status
# All the .h dependencies.
|