summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjoerg <joerg>2007-04-17 19:45:35 +0000
committerjoerg <joerg>2007-04-17 19:45:35 +0000
commitc91a6cd3e2f20c27e2a705aa919d4ea4339279b5 (patch)
treed8c511e53a509369231d917d6ec6f53d4c32cffd /mk
parent9488a04013235fbc8a24a07245832231cc88d532 (diff)
downloadpkgsrc-c91a6cd3e2f20c27e2a705aa919d4ea4339279b5.tar.gz
Fix last commit to really save forks at mentioned by rillig@:
OPSYS needs to be evaluated in-place, so use :=.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.prefs.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bsd.prefs.mk b/mk/bsd.prefs.mk
index 3c928b9fb48..1bd2ff8ecbc 100644
--- a/mk/bsd.prefs.mk
+++ b/mk/bsd.prefs.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.prefs.mk,v 1.248 2007/04/17 10:48:29 tnn Exp $
+# $NetBSD: bsd.prefs.mk,v 1.249 2007/04/17 19:45:35 joerg 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!:S/-//g:S/\///g}
+OPSYS:= ${:!${UNAME} -s!:S/-//g:S/\///g}
MAKEFLAGS+= OPSYS=${OPSYS:Q}
.endif