summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2005-02-04 00:43:42 +0000
committerjlam <jlam@pkgsrc.org>2005-02-04 00:43:42 +0000
commit6721ca445b3b7cbfae0714d7680c5d0b8504cf60 (patch)
tree9d077659efd1cc7005df72eb5d7cfa59fc7bcc5e /pkgtools
parente179abe26babe2aa6fd8868d526a9dd1cee6d9b4 (diff)
downloadpkgsrc-6721ca445b3b7cbfae0714d7680c5d0b8504cf60.tar.gz
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 (limited to 'pkgtools')
-rwxr-xr-xpkgtools/libnbcompat/files/src2nbcompat4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgtools/libnbcompat/files/src2nbcompat b/pkgtools/libnbcompat/files/src2nbcompat
index d69b079c0f4..ddfceff182d 100755
--- a/pkgtools/libnbcompat/files/src2nbcompat
+++ b/pkgtools/libnbcompat/files/src2nbcompat
@@ -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 @@ copy_file()
# 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) { \