pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk On Cygwin, OS_VERSION contains special characters, ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/e5b4d1d0902c
branches: trunk
changeset: 528560:e5b4d1d0902c
user: rillig <rillig%pkgsrc.org@localhost>
date: Mon May 07 22:16:04 2007 +0000
description:
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:
mk/bsd.prefs.mk | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r c0a12b2ac0f5 -r e5b4d1d0902c mk/bsd.prefs.mk
--- a/mk/bsd.prefs.mk Mon May 07 21:41:33 2007 +0000
+++ b/mk/bsd.prefs.mk Mon May 07 22:16:04 2007 +0000
@@ -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 @@
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
Home |
Main Index |
Thread Index |
Old Index