diff options
author | agc <agc@pkgsrc.org> | 1998-11-04 16:37:11 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 1998-11-04 16:37:11 +0000 |
commit | 25e8a9ea6a62fd1bb4968067eb00b7f54078f710 (patch) | |
tree | e138cf67929b23681e3d529c85a003adb1e06a3c /sysutils/xosview/Makefile | |
parent | 32b429852161994216d056e4b0230417da0e3e3b (diff) | |
download | pkgsrc-25e8a9ea6a62fd1bb4968067eb00b7f54078f710.tar.gz |
Make this package compile on arm32 with UVM.
Add UVM to BUILD_DEFS.
Diffstat (limited to 'sysutils/xosview/Makefile')
-rw-r--r-- | sysutils/xosview/Makefile | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/sysutils/xosview/Makefile b/sysutils/xosview/Makefile index 81615e36363..99ed56feb03 100644 --- a/sysutils/xosview/Makefile +++ b/sysutils/xosview/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 1998/10/22 05:42:37 garbled Exp $ +# $NetBSD: Makefile,v 1.18 1998/11/04 16:37:11 agc Exp $ # DISTNAME= xosview-1.6.2.a @@ -13,4 +13,13 @@ HAS_CONFIGURE= yes CONFIGURE_ARGS+= --prefix=${PREFIX} USE_X11= yes +pre-build: + mach=`/usr/bin/uname -m`; \ + if [ ! -z "${UVM}" -a -e ${FILESDIR}/$$mach-pmap.h ]; then \ + ${MKDIR} -p ${WRKSRC}/include/machine; \ + ${CP} ${FILESDIR}/$$mach-pmap.h ${WRKSRC}/include/machine/pmap.h; \ + fi + +BUILD_DEFS= UVM + .include "../../mk/bsd.pkg.mk" |