diff options
author | lukem <lukem> | 2002-06-24 13:14:41 +0000 |
---|---|---|
committer | lukem <lukem> | 2002-06-24 13:14:41 +0000 |
commit | d09b34f21acc32682f7336c7649786e01226edb4 (patch) | |
tree | 01fad0f8ac861e4e7980bbbbccffd661eb221cc5 /mk | |
parent | ca1af818701c66023c6e2e18f68bcd09bcef46b5 (diff) | |
download | pkgsrc-d09b34f21acc32682f7336c7649786e01226edb4.tar.gz |
let mk.conf's PKG_CREATE_USERGROUP and PKG_CONFIG take advantage of
the same case insensitive multiple choice that the equivalents from
the environment support
Diffstat (limited to 'mk')
-rw-r--r-- | mk/install/header | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/mk/install/header b/mk/install/header index 8cea8bcc2be..bee0e3e3710 100644 --- a/mk/install/header +++ b/mk/install/header @@ -2,7 +2,7 @@ # # start of header # -# $NetBSD: header,v 1.9 2002/06/22 02:48:36 jlam Exp $ +# $NetBSD: header,v 1.10 2002/06/24 13:14:41 lukem Exp $ PKGNAME=$1 STAGE=$2 @@ -62,28 +62,22 @@ ALL_FILES= ALL_MAKE_DIRS= ALL_DIRS= -case "${PKG_CREATE_USERGROUP}" in +case "${PKG_CREATE_USERGROUP:-@PKG_CREATE_USERGROUP@}" in [Yy][Ee][Ss]|[Tt][Rr][Uu][Ee]|[Oo][Nn]|1) _PKG_CREATE_USERGROUP=YES ;; [Nn][Oo]|[Ff][Aa][Ll][Ss][Ee]|[Oo][Ff][Ff]|0) _PKG_CREATE_USERGROUP=NO ;; -*) - _PKG_CREATE_USERGROUP=@PKG_CREATE_USERGROUP@ - ;; esac -case "${PKG_CONFIG}" in +case "${PKG_CONFIG:-@PKG_CONFIG@}" in [Yy][Ee][Ss]|[Tt][Rr][Uu][Ee]|[Oo][Nn]|1) _PKG_CONFIG=YES ;; [Nn][Oo]|[Ff][Aa][Ll][Ss][Ee]|[Oo][Ff][Ff]|0) _PKG_CONFIG=NO ;; -*) - _PKG_CONFIG=@PKG_CONFIG@ - ;; esac # end of header |