diff options
author | dholland <dholland@pkgsrc.org> | 2015-12-16 10:44:44 +0000 |
---|---|---|
committer | dholland <dholland@pkgsrc.org> | 2015-12-16 10:44:44 +0000 |
commit | 71d3310224c2509b248ef0516d840cecafb5196f (patch) | |
tree | 45780ad5ed464c9530ea0622e69cec2ce0288176 /security | |
parent | e8a09823be8722dc391cacbac8089189588516b6 (diff) | |
download | pkgsrc-71d3310224c2509b248ef0516d840cecafb5196f.tar.gz |
make the makefile MAKE_JOBS_SAFE.
Diffstat (limited to 'security')
-rw-r--r-- | security/nfsbug/distinfo | 4 | ||||
-rw-r--r-- | security/nfsbug/patches/patch-aa | 24 |
2 files changed, 18 insertions, 10 deletions
diff --git a/security/nfsbug/distinfo b/security/nfsbug/distinfo index ded29a82a28..09998213794 100644 --- a/security/nfsbug/distinfo +++ b/security/nfsbug/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.10 2015/11/04 01:17:51 agc Exp $ +$NetBSD: distinfo,v 1.11 2015/12/16 10:44:44 dholland Exp $ SHA1 (nfsBugFerret.tgz) = 6b0b2d25fadd3156cf0f8851d72b6d6070dc528c RMD160 (nfsBugFerret.tgz) = e238e0a892bb8e46969278687ce6ec1944ae24c8 @@ -8,6 +8,6 @@ SHA1 (nfsShell.c) = 195b76e2faa069e607c6a8991c835f5482f0911f RMD160 (nfsShell.c) = 340454d35e6e67b87255cba7437186639f16cfa5 SHA512 (nfsShell.c) = ff397ef03b2f76a82074a4d13100333dcd2ac472768c527c10aeb30218e8d2de8968f86af048abf0ab227945fc6f456985ee8d7937243880b7f5d55f2efe1640 Size (nfsShell.c) = 47258 bytes -SHA1 (patch-aa) = b28b48831632d2ffe8e103589c9fbf5b3e840d02 +SHA1 (patch-aa) = 7d67909e1177b61afb3c1d46d99d531bf039bd19 SHA1 (patch-ab) = e83664461f9c25e171260990c47f678ba4b6eb33 SHA1 (patch-ac) = 8beb4759a385252700aabcee9f6cd0d585bf5274 diff --git a/security/nfsbug/patches/patch-aa b/security/nfsbug/patches/patch-aa index 2033b08101b..87d3e940a2e 100644 --- a/security/nfsbug/patches/patch-aa +++ b/security/nfsbug/patches/patch-aa @@ -1,8 +1,13 @@ -$NetBSD: patch-aa,v 1.4 2004/02/22 19:30:52 jlam Exp $ +$NetBSD: patch-aa,v 1.5 2015/12/16 10:44:44 dholland Exp $ ---- Makefile.orig Fri Feb 17 00:57:26 1995 -+++ Makefile Thu May 10 17:41:10 2001 -@@ -1,14 +1,25 @@ +- configure for pkgsrc +- honor pkgsrc CFLAGS +- build nfsshell as well as nfsbug +- run rpcgen before compiling; otherwise not MAKE_JOBS_SAFE + +--- Makefile.orig 1995-02-17 05:57:26.000000000 +0000 ++++ Makefile +@@ -1,21 +1,35 @@ -CC=cc -#CFLAGS=-g -I. -DSVR4 +CC=gcc @@ -20,7 +25,7 @@ $NetBSD: patch-aa,v 1.4 2004/02/22 19:30:52 jlam Exp $ RPCGEN_MOUNT= mount.h mount_clnt.c mount_svc.c mount_xdr.c RPCGEN_NFS_PROT= nfs_prot.h nfs_prot_clnt.c nfs_prot_svc.c nfs_prot_xdr.c -+all: nfsbug nfsshell ++all: rpcgen .WAIT nfsbug nfsshell + +nfsshell: ${NFSSHELL_OBJECTS} + $(CC) ${CFLAGS} -o nfsshell $(NFSSHELL_OBJECTS) $(LIBS) @@ -32,12 +37,15 @@ $NetBSD: patch-aa,v 1.4 2004/02/22 19:30:52 jlam Exp $ + $(CC) ${CFLAGS} -o nfsbug $(NFSBUG_OBJECTS) $(LIBS) lint: $(NFSBUG_SOURCES) -@@ -17,5 +28,6 @@ + lint $(NFSBUG_SOURCES) + clean: rm -f nfsbug $(NFSBUG_OBJECTS) $(RPCGEN_MOUNT) $(RPCGEN_NFS_PROT) core + rm -f ${NFSSHELL_OBJECTS} ++ ++$(RPCGEN_MOUNT):; rpcgen -C mount.x ++$(RPCGEN_NFS_PROT):; rpcgen -C nfs_prot.x -$(RPCGEN_MOUNT):; rpcgen mount.x -$(RPCGEN_NFS_PROT):; rpcgen nfs_prot.x -+$(RPCGEN_MOUNT):; rpcgen -C mount.x -+$(RPCGEN_NFS_PROT):; rpcgen -C nfs_prot.x ++rpcgen: $(RPCGEN_MOUNT) $(RPCGEN_NFS_PROT) |