diff options
author | tnn <tnn@pkgsrc.org> | 2007-04-17 10:48:29 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2007-04-17 10:48:29 +0000 |
commit | 05620458c741079662826aa12a29e9561d36be98 (patch) | |
tree | 5eff1d3522f5f97a7b8a0da24d3cc565ce11393d /mk/bsd.prefs.mk | |
parent | b7cd7d52f7b261c390b8754d0b1030cd897df6b8 (diff) | |
download | pkgsrc-05620458c741079662826aa12a29e9561d36be98.tar.gz |
Save a fork() by not invoking the 'tr' utility.
XXX: the OS_VERSION stuff could use a similar cleanup, replacing
tr A-Z a-z occurences with the make :tl modifier.
Diffstat (limited to 'mk/bsd.prefs.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 f8042737d6d..3c928b9fb48 100644 --- a/mk/bsd.prefs.mk +++ b/mk/bsd.prefs.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.prefs.mk,v 1.247 2007/04/14 14:17:49 tnn Exp $ +# $NetBSD: bsd.prefs.mk,v 1.248 2007/04/17 10:48:29 tnn Exp $ # # Make file, included to get the site preferences, if any. Should # only be included by package Makefiles before any .if defined() @@ -56,7 +56,7 @@ CUT=echo Unknown .endif .if !defined(OPSYS) -OPSYS!= ${UNAME} -s | tr -d /- +OPSYS= ${:!${UNAME} -s!:S/-//g:S/\///g} MAKEFLAGS+= OPSYS=${OPSYS:Q} .endif |