pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/libnbcompat/files src2nbcompat uses \n backre...
details: https://anonhg.NetBSD.org/pkgsrc/rev/7f504255b887
branches: trunk
changeset: 488557:7f504255b887
user: jlam <jlam%pkgsrc.org@localhost>
date: Fri Feb 04 00:43:42 2005 +0000
description:
src2nbcompat uses \n backreferences in gensub, which isn't supported in
the NetBSD 2.0 awk, so make explicit that we're using gawk.
diffstat:
pkgtools/libnbcompat/files/src2nbcompat | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (20 lines):
diff -r 7caafc38be23 -r 7f504255b887 pkgtools/libnbcompat/files/src2nbcompat
--- a/pkgtools/libnbcompat/files/src2nbcompat Thu Feb 03 23:53:23 2005 +0000
+++ b/pkgtools/libnbcompat/files/src2nbcompat Fri Feb 04 00:43:42 2005 +0000
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: src2nbcompat,v 1.7 2004/08/20 23:10:32 jlam Exp $
+# $NetBSD: src2nbcompat,v 1.8 2005/02/04 00:43:42 jlam Exp $
#
# Copyright (c) 2003 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -92,7 +92,7 @@
# header inclusion. Protect all system headers with
# "#if HAVE_FOO_H ... #endif" guards.
#
- awk ' \
+ gawk ' \
BEGIN { config = 0; nbcompat = 0 } \
/^#[ ]*if[ ]+HAVE_NBTOOL_CONFIG_H/ { \
if (config == 0) { \
Home |
Main Index |
Thread Index |
Old Index