summaryrefslogtreecommitdiff
path: root/parallel
diff options
context:
space:
mode:
Diffstat (limited to 'parallel')
-rw-r--r--parallel/glunix/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/parallel/glunix/Makefile b/parallel/glunix/Makefile
index 31557bcaf1a..31d171d2e76 100644
--- a/parallel/glunix/Makefile
+++ b/parallel/glunix/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 1998/11/16 21:02:20 agc Exp $
+# $NetBSD: Makefile,v 1.3 1998/11/17 10:56:39 agc Exp $
DISTNAME= glunix-release-1-0a
PKGNAME= glunix-1.0a
@@ -44,6 +44,14 @@ pre-configure:
${ECHO} "$$addgroup" >> /etc/group; \
fi
+# On arm32, with UVM, pmap.h contains a C++ keyword. Workaround this.
+pre-build:
+ @if [ ${MACHINE} = "arm32" -a ! -z "${UVM}" ]; then \
+ ${MKDIR} -p ${WRKSRC}/glunix/include/machine; \
+ ${SED} -e 's|virtual|virt|' /usr/include/machine/pmap.h \
+ > ${WRKSRC}/glunix/include/machine/pmap.h; \
+ fi
+
pre-install:
${SED} -e 's|\$${NOW_ROOT}|${NOW_ROOT}|g' ${PKGDIR}/MESSAGE > ${MESSAGE_FILE}
@${ECHO} "updating /etc/shells";