diff options
author | jlam <jlam@pkgsrc.org> | 2005-04-28 23:11:14 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2005-04-28 23:11:14 +0000 |
commit | 34c6e3fd748d0f1e819e9c4f72044cbbb30cdd75 (patch) | |
tree | 88cc6788aa256d332de27eb94c6f3c7d87f0dec3 /parallel/pvm3/arch.mk | |
parent | 6c070b21394656729c6edbf56b7d31a015a2040a (diff) | |
download | pkgsrc-34c6e3fd748d0f1e819e9c4f72044cbbb30cdd75.tar.gz |
Avoid using != to define _PVM_ARCH ... use :sh instead to defer the
evaluation until we invoke the make targets. This avoids needing ${TR}
in the top-level make.
Diffstat (limited to 'parallel/pvm3/arch.mk')
-rw-r--r-- | parallel/pvm3/arch.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/parallel/pvm3/arch.mk b/parallel/pvm3/arch.mk index 0cab6d15e60..3de9e7e4067 100644 --- a/parallel/pvm3/arch.mk +++ b/parallel/pvm3/arch.mk @@ -1,11 +1,12 @@ -# $NetBSD: arch.mk,v 1.6 2004/07/18 18:05:12 dmcmahill Exp $ +# $NetBSD: arch.mk,v 1.7 2005/04/28 23:11:14 jlam Exp $ # .include "../../mk/bsd.prefs.mk" .if ${OPSYS} == "NetBSD" _PVM_OPSYS= NETBSD -_PVM_ARCH!= ${ECHO} ${MACHINE_ARCH} | ${TR} "[a-z]" "[A-Z]" +_PVM_ARCH_cmd= ${ECHO} ${MACHINE_ARCH} | ${TR} "[a-z]" "[A-Z]" +_PVM_ARCH= ${_PVM_ARCH_cmd:sh} .elif ${OPSYS} == "Linux" _PVM_OPSYS= LINUX . if !empty(MACHINE_ARCH:Malpha*) |