From 9a5b65b0a3aeca3b0e11bb678c63ffc0d2da9995 Mon Sep 17 00:00:00 2001 From: adam Date: Tue, 16 Nov 2021 16:20:18 +0000 Subject: tcpdump: add patch-Makefile.in --- net/tcpdump/patches/patch-Makefile.in | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 net/tcpdump/patches/patch-Makefile.in (limited to 'net/tcpdump') 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 -- cgit v1.2.3