diff options
author | agc <agc> | 1998-11-16 15:04:51 +0000 |
---|---|---|
committer | agc <agc> | 1998-11-16 15:04:51 +0000 |
commit | 88937ab3a2ac47b4a3e5f0840d9bbcfc6c8ec000 (patch) | |
tree | 373a080f7e0aa9aa93bf14a908404f927f3dbc4d /sysutils/xosview/Makefile | |
parent | 8ffe8baddd8828b270920a12c16e2f4f575a2b6b (diff) | |
download | pkgsrc-88937ab3a2ac47b4a3e5f0840d9bbcfc6c8ec000.tar.gz |
Use ${MACHINE} rather than `uname -m`
Diffstat (limited to 'sysutils/xosview/Makefile')
-rw-r--r-- | sysutils/xosview/Makefile | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/sysutils/xosview/Makefile b/sysutils/xosview/Makefile index e9ede98c6a8..34add37aecf 100644 --- a/sysutils/xosview/Makefile +++ b/sysutils/xosview/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 1998/11/04 16:58:09 agc Exp $ +# $NetBSD: Makefile,v 1.20 1998/11/16 15:04:51 agc Exp $ # DISTNAME= xosview-1.6.2.a @@ -16,11 +16,10 @@ BUILD_DEFS= UVM # On arm32, with UVM, pmap.h contains a C++ keyword. Workaround this. pre-build: - mach=`/usr/bin/uname -m`; \ - if [ $$mach = "arm32" -a ! -z "${UVM}" ]; then \ - ${MKDIR} -p ${WRKSRC}/include/machine; \ + @if [ ${MACHINE} = "arm32" -a ! -z "${UVM}" ]; then \ + ${MKDIR} -p ${WRKSRC}/include/machine; \ ${SED} -e 's|virtual|virt|' /usr/include/machine/pmap.h \ - > ${WRKSRC}/include/machine/pmap.h; \ + > ${WRKSRC}/include/machine/pmap.h; \ fi .include "../../mk/bsd.pkg.mk" |