pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/plist Apply jlam's awk fix done in plist-info.awk 1...
details: https://anonhg.NetBSD.org/pkgsrc/rev/9d96b8e57731
branches: trunk
changeset: 511465:9d96b8e57731
user: minskim <minskim%pkgsrc.org@localhost>
date: Sat Apr 15 04:25:17 2006 +0000
description:
Apply jlam's awk fix done in plist-info.awk 1.12.
- Avoid () as a regular expression as the interpretation seems to be
implementation-defined by various awks.
diffstat:
mk/plist/plist-libtool.awk | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diffs (22 lines):
diff -r 80c4e7505c32 -r 9d96b8e57731 mk/plist/plist-libtool.awk
--- a/mk/plist/plist-libtool.awk Sat Apr 15 01:36:40 2006 +0000
+++ b/mk/plist/plist-libtool.awk Sat Apr 15 04:25:17 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: plist-libtool.awk,v 1.3 2006/04/05 05:54:01 jlam Exp $
+# $NetBSD: plist-libtool.awk,v 1.4 2006/04/15 04:25:17 minskim Exp $
#
# Copyright (c) 2006 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -63,8 +63,10 @@
TEST = ENVIRON["TEST"] ? ENVIRON["TEST"] : "test"
IGNORE_LA_REGEXP = ENVIRON["IGNORE_LIBTOOLIZE"] ? ENVIRON["IGNORE_LIBTOOLIZE"] : ""
- gsub(" *", "|", IGNORE_LA_REGEXP)
- IGNORE_LA_REGEXP = "(" IGNORE_LA_REGEXP ")"
+ if (IGNORE_LA_REGEXP != "") {
+ gsub(" *", "|", IGNORE_LA_REGEXP)
+ IGNORE_LA_REGEXP = "(" IGNORE_LA_REGEXP ")"
+ }
}
###
Home |
Main Index |
Thread Index |
Old Index