summaryrefslogtreecommitdiff
path: root/security/nfsbug/Makefile
diff options
context:
space:
mode:
authorjmc <jmc@pkgsrc.org>2002-02-11 17:07:59 +0000
committerjmc <jmc@pkgsrc.org>2002-02-11 17:07:59 +0000
commit1e5ca05b9d996f399496010a8019b2b9fa442d08 (patch)
treef5a9d51afea8b5017099c7d0a02d54b6d77c8d05 /security/nfsbug/Makefile
parent040e953d385dfbca238dada111ea9bac539a4eaa (diff)
downloadpkgsrc-1e5ca05b9d996f399496010a8019b2b9fa442d08.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/nfsbug/Makefile')
-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