summaryrefslogtreecommitdiff
path: root/net/tcpdump
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2021-11-16 16:20:18 +0000
committeradam <adam@pkgsrc.org>2021-11-16 16:20:18 +0000
commit9a5b65b0a3aeca3b0e11bb678c63ffc0d2da9995 (patch)
tree1b2be512157844c9a69d5dba97c0d1e6cf556ac3 /net/tcpdump
parenta2ee947f5d53e0109aec10f329d1e9865d1c5af4 (diff)
downloadpkgsrc-9a5b65b0a3aeca3b0e11bb678c63ffc0d2da9995.tar.gz
tcpdump: add patch-Makefile.in
Diffstat (limited to 'net/tcpdump')
-rw-r--r--net/tcpdump/patches/patch-Makefile.in14
1 files changed, 14 insertions, 0 deletions
diff --git a/net/tcpdump/patches/patch-Makefile.in b/net/tcpdump/patches/patch-Makefile.in
new file mode 100644
index 00000000000..3c289aef296
--- /dev/null
+++ b/net/tcpdump/patches/patch-Makefile.in
@@ -0,0 +1,14 @@
+$NetBSD: patch-Makefile.in,v 1.1 2021/11/16 16:20:18 adam Exp $
+
+Don't install another copy of VERSION.
+
+--- Makefile.in.orig 2021-06-07 20:21:43.000000000 +0000
++++ Makefile.in
+@@ -418,7 +418,6 @@ install: all
+ [ -d $(DESTDIR)$(bindir) ] || \
+ (mkdir -p $(DESTDIR)$(bindir); chmod 755 $(DESTDIR)$(bindir))
+ $(INSTALL_PROGRAM) $(PROG) $(DESTDIR)$(bindir)/$(PROG)
+- $(INSTALL_PROGRAM) $(PROG) $(DESTDIR)$(bindir)/$(PROG).`cat ${srcdir}/VERSION`
+ [ -d $(DESTDIR)$(mandir)/man1 ] || \
+ (mkdir -p $(DESTDIR)$(mandir)/man1; chmod 755 $(DESTDIR)$(mandir)/man1)
+ $(INSTALL_DATA) $(PROG).1 $(DESTDIR)$(mandir)/man1/$(PROG).1