[Top][All Lists]

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

Small AIX patch to avoid error from make

From: Petter Reinholdtsen
Subject: Small AIX patch to avoid error from make
Date: Wed, 2 Oct 2002 18:00:44 +0200

I had to apply this patch to avoid getting error messages from make
when it used the dependency files during install.  The .Po files
looked like this before I changed the file:

  file.c : \
  file1.h file2.h file3.h :

And after I did the change, they ended up like this:

  file.c : \
  file1.h file2.h file3.h

diff -ur src-4.1/depcomp src-4.1-local/depcomp
--- src-4.1/depcomp     2001-04-21 20:26:56.000000000 +0200
+++ src-4.1-local/depcomp       2002-10-02 17:58:12.000000000 +0200
@@ -182,7 +182,7 @@
 ' < "$tmpdepfile" | \
 ## Some versions of the HPUX 10.20 sed can't process this invocation
 ## correctly.  Breaking it into two sed invocations is a workaround.
-      sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
+      sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' >> "$depfile"
     # The sourcefile does not contain any dependencies, so just
     # store a dummy comment line, to avoid errors with the Makefile

reply via email to

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