summaryrefslogtreecommitdiff
path: root/x11/gtk--/patches/patch-ab
blob: 67b052903514ef143ece53a3a74060b9cb144443 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- src/build_sources/Makefile.in.orig	Sun Aug 23 07:09:33 1998
+++ src/build_sources/Makefile.in	Mon Aug 24 20:03:46 1998
@@ -324,10 +324,12 @@
 
 $(gensourcedir)/%.h: $(srcdir)/%.h.m4
 	rm -f $(gensourcedir)/$(notdir $*).h
-	m4 $(srcdir)/$(notdir $*).h.m4 >$(gensourcedir)/$(notdir $*).h
+	gm4 $(srcdir)/$(notdir $*).h.m4 >$(gensourcedir)/$(notdir $*).h
 
 $(gensourcedir)/%.cc $(gensourcedir)/%.h: $(srcdir)/../%.gen_h $(srcdir)/../gensig/gensig.cc
 	../gensig/gensig $(srcdir)/../$(notdir $*).gen_h $(gensourcedir)/$(notdir $*)
+	perl -pi -e 's/^#line.*$$//' $(gensourcedir)/$(notdir $*).h
+	perl -pi -e 's/^#line.*$$//' $(gensourcedir)/$(notdir $*).cc
 
 # 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.