[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[patch] Gnumach 1.3 fails to build with make 3.81 beta
From: |
Guillem Jover |
Subject: |
[patch] Gnumach 1.3 fails to build with make 3.81 beta |
Date: |
Thu, 12 Jan 2006 00:20:00 +0200 |
User-agent: |
Mutt/1.5.11 |
Hi!
Gnumach fails to build due to the new make POSIX compliant behaviour
with tabs and shell commands. The problem comes from a variable
containing a tab, thus merging the offending lines into one line will
not solve the issue. That's why moving the shell command to a variables
is needed. This patch is being included in the Debian package.
Here's the patch that Alfred cooked, please apply.
2006-01-11 Alfred M. Szmidt <ams@gnu.org>
* Makefile.in (migs_d_SCRIPT): New variable.
(%.migs_d): Use it.
(migu_d_SCRIPT): New variable.
%.migu_d): Use it.
--- Makefile.in 2005-07-25 06:48:20.000000000 +0300
+++ Makefile.in 2006-01-11 23:52:38.000000000 +0200
@@ -467,13 +467,17 @@
# Here is how to make those dependency files
+migs_d_SCRIPT = 'set -e; $(CPP) $(MIGFLAGS) -M -MG -x c $< | \
+ sed -e \'s/[^:]*:/$(@:.migs_d=_server.c) $@:/\' > $@)'
+
%.migs_d: %.srv $(before-compile)
- (set -e; $(CPP) $(MIGFLAGS) -M -MG -x c $< | \
- sed -e 's/[^:]*:/$(@:.migs_d=_server.c) $@:/' > $@)
+ $(migs_d_SCRIPT)
+
+migu_d_SCRIPT = 'set -e; $(CPP) $(MIGFLAGS) -M -MG -x c $< | \
+ sed -e \'s/[^:]*:/$(@:.migu_d=_user.c) $@:/\' > $@)'
%.migu_d: %.cli $(before-compile)
- (set -e; $(CPP) $(MIGFLAGS) -M -MG -x c $< | \
- sed -e 's/[^:]*:/$(@:.migu_d=_user.c) $@:/' > $@)
+ $(migu_d_SCRIPT)
%.migsh_d: %.migs_d
sed -e 's/_server\.c /_interface.h /' -e 's/migs_d/migsh_d/' < $< > $@
regards,
guillem
- [patch] Gnumach 1.3 fails to build with make 3.81 beta,
Guillem Jover <=