diff options
author | agc <agc@pkgsrc.org> | 1998-11-16 15:04:51 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 1998-11-16 15:04:51 +0000 |
commit | d057cbcffde7e73362e84b4f08cd5930c689f349 (patch) | |
tree | 373a080f7e0aa9aa93bf14a908404f927f3dbc4d /sysutils/xosview | |
parent | bc79f1588b0c1913dbe9e68d58acbfc98573f8b0 (diff) | |
download | pkgsrc-d057cbcffde7e73362e84b4f08cd5930c689f349.tar.gz |
Use ${MACHINE} rather than `uname -m`
Diffstat (limited to 'sysutils/xosview')
-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" |