diff options
author | rillig <rillig@pkgsrc.org> | 2007-05-07 22:16:04 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2007-05-07 22:16:04 +0000 |
commit | 4b4f99574455926ad32f82f8e4cd4765387c1975 (patch) | |
tree | b75ca026488a268d6d6a63a6e980b39541befdba /mk | |
parent | 953c56fd095db90bd18f354f8623e4b0de604bbc (diff) | |
download | pkgsrc-4b4f99574455926ad32f82f8e4cd4765387c1975.tar.gz |
On Cygwin, OS_VERSION contains special characters, so it needs the :Q
operator. An example version is 1.5.24(0.156/4/2).
Diffstat (limited to 'mk')
-rw-r--r-- | mk/bsd.prefs.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bsd.prefs.mk b/mk/bsd.prefs.mk index 1bd2ff8ecbc..7bccf436e74 100644 --- a/mk/bsd.prefs.mk +++ b/mk/bsd.prefs.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.prefs.mk,v 1.249 2007/04/17 19:45:35 joerg Exp $ +# $NetBSD: bsd.prefs.mk,v 1.250 2007/05/07 22:16:04 rillig Exp $ # # Make file, included to get the site preferences, if any. Should # only be included by package Makefiles before any .if defined() @@ -69,7 +69,7 @@ OS_VERSION= ${_OS_VERSION_CMD:sh} MAKEFLAGS+= OS_VERSION=${OS_VERSION:Q} .endif .if !defined(LOWER_OS_VERSION) -_LOWER_OS_VERSION_CMD= echo ${OS_VERSION} | tr 'A-Z' 'a-z' +_LOWER_OS_VERSION_CMD= echo ${OS_VERSION:Q} | tr 'A-Z' 'a-z' LOWER_OS_VERSION= ${_LOWER_OS_VERSION_CMD:sh} MAKEFLAGS+= LOWER_OS_VERSION=${LOWER_OS_VERSION:Q} .endif |