summaryrefslogtreecommitdiff
path: root/mk/plist
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2006-04-15 04:25:17 +0000
committerminskim <minskim@pkgsrc.org>2006-04-15 04:25:17 +0000
commit45ddb3557a2c271ec4a43fc0304720510353d351 (patch)
treed16bf316b2b6d5159e7663543454bbe89bbea81c /mk/plist
parent32cd3f09b7d5cc7132d6715e32d5405afcdc0e72 (diff)
downloadpkgsrc-45ddb3557a2c271ec4a43fc0304720510353d351.tar.gz
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 (limited to 'mk/plist')
-rw-r--r--mk/plist/plist-libtool.awk8
1 files changed, 5 insertions, 3 deletions
diff --git a/mk/plist/plist-libtool.awk b/mk/plist/plist-libtool.awk
index 3845d32c6c8..2294f4f9976 100644
--- a/mk/plist/plist-libtool.awk
+++ b/mk/plist/plist-libtool.awk
@@ -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 @@ BEGIN {
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 ")"
+ }
}
###