summaryrefslogtreecommitdiff
path: root/sysutils/xosview/Makefile
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1998-11-04 16:37:11 +0000
committeragc <agc@pkgsrc.org>1998-11-04 16:37:11 +0000
commit25e8a9ea6a62fd1bb4968067eb00b7f54078f710 (patch)
treee138cf67929b23681e3d529c85a003adb1e06a3c /sysutils/xosview/Makefile
parent32b429852161994216d056e4b0230417da0e3e3b (diff)
downloadpkgsrc-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/Makefile11
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"