diff options
author | minskim <minskim@pkgsrc.org> | 2006-04-15 04:25:17 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2006-04-15 04:25:17 +0000 |
commit | af84202e64f205e2d72d858314e973a53097782a (patch) | |
tree | d16bf316b2b6d5159e7663543454bbe89bbea81c /mk/plist/plist-libtool.awk | |
parent | 25eb218481db0e39ac2104f0dd1d60aa9d368d1c (diff) | |
download | pkgsrc-af84202e64f205e2d72d858314e973a53097782a.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/plist-libtool.awk')
-rw-r--r-- | mk/plist/plist-libtool.awk | 8 |
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 ")" + } } ### |