summaryrefslogtreecommitdiff
path: root/mk/plist
diff options
context:
space:
mode:
authorminskim <minskim>2006-04-15 04:25:17 +0000
committerminskim <minskim>2006-04-15 04:25:17 +0000
commit15607375f73e3d828227273898c7187ff39ed24c (patch)
treed16bf316b2b6d5159e7663543454bbe89bbea81c /mk/plist
parent7fe424fb08973e212bb656efb131cc50cfca7b55 (diff)
downloadpkgsrc-15607375f73e3d828227273898c7187ff39ed24c.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 ")"
+ }
}
###