summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorjmc <jmc>2002-02-11 17:07:59 +0000
committerjmc <jmc>2002-02-11 17:07:59 +0000
commit4fdf6fc7d8ac84d4f7134f0f5dac546df5f15b5f (patch)
treef5a9d51afea8b5017099c7d0a02d54b6d77c8d05 /security
parent3b6021daf3af67493e80d9410d119edc7d197b7b (diff)
downloadpkgsrc-4fdf6fc7d8ac84d4f7134f0f5dac546df5f15b5f.tar.gz
Provide a better rule for platforms to build this on. Basically only 1.5B
or greater unless it's x86. (All due to exposure of struct pmap on pre 1.5B systems from vm/vm.h inclusion).
Diffstat (limited to 'security')
-rw-r--r--security/nfsbug/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/security/nfsbug/Makefile b/security/nfsbug/Makefile
index 8e96da0a96b..4f5824b6c51 100644
--- a/security/nfsbug/Makefile
+++ b/security/nfsbug/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2001/05/11 18:51:45 dmcmahill Exp $
+# $NetBSD: Makefile,v 1.5 2002/02/11 17:07:59 jmc Exp $
DISTNAME= nfsshell-1.0
WRKSRC= ${WRKDIR}/nfsbug
@@ -12,10 +12,10 @@ COMMENT= NFS security verification suite
EXTRACT_ONLY= nfsBugFerret.tgz
-# doesn't build on alpha, pmax, sparc, or vax. In fact
-# the only platform where I've been told it does work is
-# i386.
-NOT_FOR_PLATFORM= *-*-alpha *-*-mips* *-*-sparc *-*-vax
+# Only works on 1.5B or greater on most platforms but will work on any x86
+# since struct pmap didn't get exposed through vm.h there.
+ONLY_FOR_PLATFORM= NetBSD-1.5[B-Z]-* NetBSD-1.5Z[A-Z]-* NetBSD-1.[6-9]*-* \
+ NetBSD-*-i386
post-extract:
${CP} ${DISTDIR}/nfsShell.c ${WRKSRC}/nfsshell.c