diff options
author | jlam <jlam@pkgsrc.org> | 2006-02-07 18:42:38 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2006-02-07 18:42:38 +0000 |
commit | 4ed08319944914b8960d221365eab093f6280e69 (patch) | |
tree | 0dffc1284ff2b27a307744e8e4520ec96a978055 /mk/plist/plist-libtool.awk | |
parent | fd00cb48aaa1e9c0e9a6bab81097715b060567b3 (diff) | |
download | pkgsrc-4ed08319944914b8960d221365eab093f6280e69.tar.gz |
Provide default values for various variables if they're not present in
the shell environment array ENVIRON.
Diffstat (limited to 'mk/plist/plist-libtool.awk')
-rw-r--r-- | mk/plist/plist-libtool.awk | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/mk/plist/plist-libtool.awk b/mk/plist/plist-libtool.awk index 8120f9e54f2..624d6bbff78 100644 --- a/mk/plist/plist-libtool.awk +++ b/mk/plist/plist-libtool.awk @@ -1,4 +1,4 @@ -# $NetBSD: plist-libtool.awk,v 1.1 2006/01/12 23:43:57 jlam Exp $ +# $NetBSD: plist-libtool.awk,v 1.2 2006/02/07 18:42:38 jlam Exp $ # # Copyright (c) 2006 The NetBSD Foundation, Inc. # All rights reserved. @@ -54,10 +54,10 @@ ### BEGIN { - LIBTOOL_EXPAND = ENVIRON["LIBTOOL_EXPAND"] - LIBTOOLIZE_PLIST = ENVIRON["LIBTOOLIZE_PLIST"] - PREFIX = ENVIRON["PREFIX"] - TEST = ENVIRON["TEST"] + LIBTOOL_EXPAND = ENVIRON["LIBTOOL_EXPAND"] ? ENVIRON["LIBTOOL_EXPAND"] : "/usr/pkgsrc/mk/plist/libtool-expand" + LIBTOOLIZE_PLIST = ENVIRON["LIBTOOLIZE_PLIST"] ? ENVIRON["LIBTOOLIZE_PLIST"] : "yes" + PREFIX = ENVIRON["PREFIX"] ? ENVIRON["PREFIX"] : "/usr/pkg" + TEST = ENVIRON["TEST"] ? ENVIRON["TEST"] : "test" } ### |