pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/plist warning: escape sequence `\.' treated as plai...
details: https://anonhg.NetBSD.org/pkgsrc/rev/51a9db842ad1
branches: trunk
changeset: 507625:51a9db842ad1
user: rillig <rillig%pkgsrc.org@localhost>
date: Sun Feb 05 16:21:07 2006 +0000
description:
warning: escape sequence `\.' treated as plain `.'
diffstat:
mk/plist/plist-info.awk | 4 ++--
mk/plist/plist-man.awk | 4 ++--
mk/plist/shlib-aout.awk | 6 +++---
mk/plist/shlib-dylib.awk | 12 ++++++------
4 files changed, 13 insertions(+), 13 deletions(-)
diffs (96 lines):
diff -r ba6548ca91e7 -r 51a9db842ad1 mk/plist/plist-info.awk
--- a/mk/plist/plist-info.awk Sun Feb 05 16:12:56 2006 +0000
+++ b/mk/plist/plist-info.awk Sun Feb 05 16:21:07 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: plist-info.awk,v 1.2 2006/02/05 16:12:56 rillig Exp $
+# $NetBSD: plist-info.awk,v 1.3 2006/02/05 16:21:07 rillig Exp $
#
# Copyright (c) 2006 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -83,7 +83,7 @@
#if ((MANZ ~ /[yY][eE][sS]/) && ($0 !~ /\.gz$/)) {
# $0 = $0 ".gz"
#} else if ((MANZ !~ /[yY][eE][sS]/) && ($0 ~ /\.gz$/)) {
- # sub("\.gz$", "")
+ # sub("\\.gz$", "")
#}
print_entry($0)
}
diff -r ba6548ca91e7 -r 51a9db842ad1 mk/plist/plist-man.awk
--- a/mk/plist/plist-man.awk Sun Feb 05 16:12:56 2006 +0000
+++ b/mk/plist/plist-man.awk Sun Feb 05 16:21:07 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: plist-man.awk,v 1.2 2006/01/22 16:54:13 jlam Exp $
+# $NetBSD: plist-man.awk,v 1.3 2006/02/05 16:21:07 rillig Exp $
#
# Copyright (c) 2006 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -75,7 +75,7 @@
###
/^[^@]/ && \
/^([^\/]*\/)+(man[1-9ln]\/[^\/]*\.[1-9ln]|cat[1-9ln]\/[^\/]*\.[0-9])\.gz$/ {
- sub("\.gz$", "")
+ sub("\\.gz$", "")
}
###
diff -r ba6548ca91e7 -r 51a9db842ad1 mk/plist/shlib-aout.awk
--- a/mk/plist/shlib-aout.awk Sun Feb 05 16:12:56 2006 +0000
+++ b/mk/plist/shlib-aout.awk Sun Feb 05 16:21:07 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: shlib-aout.awk,v 1.1 2006/01/12 23:43:57 jlam Exp $
+# $NetBSD: shlib-aout.awk,v 1.2 2006/02/05 16:21:07 rillig Exp $
#
# Copyright (c) 2006 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -82,10 +82,10 @@
###
/.*\/lib[^\/]+\.so(\.[0-9]+)*$/ {
entries[++nentries] = $0
- while (sub("\.[0-9]+$", "")) {
+ while (sub("\\.[0-9]+$", "")) {
symlinks[$0] = $0
}
- if (sub("-[^-]+\.so$", ".so")) {
+ if (sub("-[^-]+\\.so$", ".so")) {
symlinks[$0] = $0
}
next
diff -r ba6548ca91e7 -r 51a9db842ad1 mk/plist/shlib-dylib.awk
--- a/mk/plist/shlib-dylib.awk Sun Feb 05 16:12:56 2006 +0000
+++ b/mk/plist/shlib-dylib.awk Sun Feb 05 16:21:07 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: shlib-dylib.awk,v 1.1 2006/01/12 23:43:57 jlam Exp $
+# $NetBSD: shlib-dylib.awk,v 1.2 2006/02/05 16:21:07 rillig Exp $
#
# Copyright (c) 2006 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -91,15 +91,15 @@
### dylib names that can be derived from this entry as dylibs.
###
/.*\/lib[^\/]+\.so(\.[0-9]+)+$/ {
- lib = $0; sub("\.so\.", ".", lib); sub("\.so$", "", lib)
+ lib = $0; sub("\\.so\\.", ".", lib); sub("\\.so$", "", lib)
lib = lib ".dylib"
add_dylib(lib)
- while (sub("\.[0-9]+$", "")) {
- lib = $0; sub("\.so\.", ".", lib); sub("\.so$", "", lib)
+ while (sub("\\.[0-9]+$", "")) {
+ lib = $0; sub("\\.so\\.", ".", lib); sub("\\.so$", "", lib)
lib = lib ".dylib"
add_dylib(lib)
}
- if (sub("\.so$", "")) {
+ if (sub("\\.so$", "")) {
lib = $0 ".dylib"
add_dylib(lib)
}
@@ -120,7 +120,7 @@
if (system(cmd) == 0) {
entries[++nentries] = $0
}
- lib = $0; sub("\.so$", "", lib)
+ lib = $0; sub("\\.so$", "", lib)
lib = lib ".dylib"
add_dylib(lib)
if (sub("-([0-9.]+)$", "")) {
Home |
Main Index |
Thread Index |
Old Index