bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

hurd/Makeconf


From: David Walter
Subject: hurd/Makeconf
Date: Sun, 12 May 2002 01:08:18 -0400
User-agent: Gnus/5.090006 (Oort Gnus v0.06) XEmacs/21.4 (Common Lisp, i386-debian-linux)

When building today (yesterday..time flies.) I was getting error
messages from the make-deps call in hurd/Makeconf

the sed lines below look innocuous until they are used within a
directory (like libstore) where there is a directory prefixing the
dependencies for unzip inflate do-bunzip2 and utils which are in 
             ../serverboot/ (from memory here sorry if some detail is
             wrong)

In the savannah cvs sources 

https://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd/Makeconf.diff?r1=1.173&r2=1.174

there is the following.

 define make-deps
-set -e; $(CC) $(CFLAGS) $(CPPFLAGS) $($*-CPPFLAGS) -M -MG $< | \
+set -e; $(CC) $(CFLAGS) $(CPPFLAGS) -M -MG $< | \
 sed > $@.new -e 's/$*\.o:/$*.o $*_pic.o $*_p.o $@:/' \
             -e 's% [^ ]*/gcc-lib/[^ ]*\.h%%g'


Couldn't the /'s just be replaced with ,'s.

--- Makeconf.orig        Sun May 12 01:06:17 2002
+++ Makeconf    Sat May 11 17:42:19 2002
@@ -588,8 +588,8 @@ endif
 
 define make-deps
 set -e; $(CC) $(CFLAGS) $(CPPFLAGS) -M -MG $<  | \
-sed > $@.new -e 's/$*\.o:/$*.o $*_pic.o $*_p.o $@:/' \
-            -e 's% [^ ]*/gcc-lib/[^ ]*\.h%%g'
+sed  -e 's,$*\.o:,$*.o $*_pic.o $*_p.o $@:,' \
+     -e 's% [^ ]*/gcc-lib/[^ ]*\.h%%g' > $@.new
 mv -f $@.new $@
 endef


-- 
Hope springs eternal!

/^\
\ /     ASCII RIBBON CAMPAIGN
 X        AGAINST HTML MAIL
/ \



reply via email to

[Prev in Thread] Current Thread [Next in Thread]