pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/libnbcompat/files Don't escape '#' within a p...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/490925cbd5f0
branches:  trunk
changeset: 461287:490925cbd5f0
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Sat Sep 13 17:07:47 2003 +0000

description:
Don't escape '#' within a print statement as it seems to break with some
awks.  Thanks to Hubert Feyrer for the fix!

diffstat:

 pkgtools/libnbcompat/files/Makefile.in |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (21 lines):

diff -r cd955bfab591 -r 490925cbd5f0 pkgtools/libnbcompat/files/Makefile.in
--- a/pkgtools/libnbcompat/files/Makefile.in    Sat Sep 13 17:05:08 2003 +0000
+++ b/pkgtools/libnbcompat/files/Makefile.in    Sat Sep 13 17:07:47 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.in,v 1.17 2003/09/13 03:50:12 jlam Exp $
+# $NetBSD: Makefile.in,v 1.18 2003/09/13 17:07:47 jlam Exp $
 #
 
 srcdir=                @srcdir@
@@ -50,9 +50,9 @@
                                guard = $$0;                            \
                                sub("^\#[       ]*define[       ]+", "", guard); \
                                sub("[  ]+.*", "", guard);              \
-                               print "\#ifndef " guard;                \
+                               print "#ifndef " guard;                 \
                                print $$0;                              \
-                               print "\#endif";                        \
+                               print "#endif";                         \
                                next;                                   \
                        }                                               \
                }                                                       \



Home | Main Index | Thread Index | Old Index