diff options
Diffstat (limited to 'net-mgmt/nfdump-devel/files/patch-Makefile.in')
-rw-r--r-- | net-mgmt/nfdump-devel/files/patch-Makefile.in | 41 |
1 files changed, 22 insertions, 19 deletions
diff --git a/net-mgmt/nfdump-devel/files/patch-Makefile.in b/net-mgmt/nfdump-devel/files/patch-Makefile.in index 263ffad5279f..9ad6def3a0d4 100644 --- a/net-mgmt/nfdump-devel/files/patch-Makefile.in +++ b/net-mgmt/nfdump-devel/files/patch-Makefile.in @@ -1,23 +1,26 @@ ---- Makefile.in.orig Thu Apr 21 08:59:14 2005 -+++ Makefile.in Fri Jul 29 18:59:39 2005 -@@ -82,20 +82,16 @@ - $(CC) $(CFLAGS) $(INCS) -o $@ nfreplay.o $(FOBJ) $(LDFLAGS) + +$FreeBSD$ + +--- Makefile.in.orig ++++ Makefile.in +@@ -89,20 +89,16 @@ + $(CC) $(CFLAGS) -o $@ $(FT2NF_OBJ) $(FT_LDFLAGS) $(FT_LIBS) install: $(OBJECTS) -- test -d $(prefix) || install -d -o root -g bin -m 755 $(prefix) -- test -d $(prefix)/bin || install -d -o root -g bin -m 755 $(prefix)/bin +- test -d $(PREFIX) || install -d -o root -g bin -m 755 $(PREFIX) +- test -d $(PREFIX)/bin || install -d -o root -g bin -m 755 $(PREFIX)/bin - test -d $(MANDIR) || install -d -o root -g bin -m 755 $(MANDIR) - test -d $(MANDIR)/man1 || install -d -o root -g bin -m 755 $(MANDIR)/man1 -- $(INSTALL) -o root -g bin -m 755 nfcapd $(prefix)/bin -- $(INSTALL) -o root -g bin -m 755 nfdump $(prefix)/bin -- $(INSTALL) -o root -g bin -m 755 nfprofile $(prefix)/bin -- $(INSTALL) -o root -g bin -m 755 nfreplay $(prefix)/bin -- test -f $(prefix)/bin/nfclean.pl || $(INSTALL) -o root -g bin -m 755 nfclean.pl $(prefix)/bin -+ $(BSD_INSTALL_PROGRAM) nfcapd $(prefix)/bin -+ $(BSD_INSTALL_PROGRAM) nfdump $(prefix)/bin -+ $(BSD_INSTALL_PROGRAM) nfprofile $(prefix)/bin -+ $(BSD_INSTALL_PROGRAM) nfreplay $(prefix)/bin -+ $(BSD_INSTALL_SCRIPT) nfclean.pl $(prefix)/bin +- $(INSTALL) -o root -g bin -m 755 nfcapd $(PREFIX)/bin +- $(INSTALL) -o root -g bin -m 755 nfdump $(PREFIX)/bin +- $(INSTALL) -o root -g bin -m 755 nfprofile $(PREFIX)/bin +- $(INSTALL) -o root -g bin -m 755 nfreplay $(PREFIX)/bin +- test -f $(PREFIX)/bin/nfclean.pl || $(INSTALL) -o root -g bin -m 755 nfclean.pl $(PREFIX)/bin ++ $(BSD_INSTALL_PROGRAM) nfcapd $(PREFIX)/bin ++ $(BSD_INSTALL_PROGRAM) nfdump $(PREFIX)/bin ++ $(BSD_INSTALL_PROGRAM) nfprofile $(PREFIX)/bin ++ $(BSD_INSTALL_PROGRAM) nfreplay $(PREFIX)/bin ++ $(BSD_INSTALL_SCRIPT) nfclean.pl $(PREFIX)/bin - $(INSTALL) -o root -g bin -m 644 nfcapd.1 $(MANDIR)/man1 - $(INSTALL) -o root -g bin -m 644 nfdump.1 $(MANDIR)/man1 @@ -27,6 +30,6 @@ + $(BSD_INSTALL_MAN) nfdump.1 $(MANDIR)/man1 + $(BSD_INSTALL_MAN) nfprofile.1 $(MANDIR)/man1 + $(BSD_INSTALL_MAN) nfreplay.1 $(MANDIR)/man1 - - uninstall: - /bin/rm -f $(prefix)/bin/nfcapd + if test -f ft2nfdump; then \ + $(INSTALL) -o root -g bin -m 755 ft2nfdump $(PREFIX)/bin; \ + $(INSTALL) -o root -g bin -m 644 ft2nfdump.1 $(MANDIR)/man1; \ |