002-no_install_strip.patch 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. --- a/Makefile
  2. +++ b/Makefile
  3. @@ -66,11 +66,11 @@ install:
  4. # install everything else
  5. install -d -m 755 $(BIN) $(SBIN) $(MAN)/man1 $(MAN)/man5
  6. - install -s -m 755 src/vnstat $(BIN)
  7. - install -s -m 755 src/vnstatd $(SBIN)
  8. + install -m 755 src/vnstat $(BIN)
  9. + install -m 755 src/vnstatd $(SBIN)
  10. @if [ -f "src/vnstati" ]; \
  11. - then echo install -s -m 755 src/vnstati $(BIN); \
  12. - install -s -m 755 src/vnstati $(BIN); \
  13. + then echo install -m 755 src/vnstati $(BIN); \
  14. + install -m 755 src/vnstati $(BIN); \
  15. fi
  16. # update man pages, gzip it if previous version was done so
  17. @@ -139,12 +139,12 @@ bsdinstall:
  18. # install binaries
  19. install -d -m 755 $(DESTDIR)/var/db/vnstat
  20. - install -s -m 755 src/vnstat $(BIN_BSD)
  21. - install -s -m 755 src/vnstatd $(SBIN_BSD)
  22. + install -m 755 src/vnstat $(BIN_BSD)
  23. + install -m 755 src/vnstatd $(SBIN_BSD)
  24. @if [ -f "src/vnstati" ]; \
  25. - then echo install -s -m 755 src/vnstati $(BIN_BSD); \
  26. - install -s -m 755 src/vnstati $(BIN_BSD); \
  27. + then echo install -m 755 src/vnstati $(BIN_BSD); \
  28. + install -m 755 src/vnstati $(BIN_BSD); \
  29. fi
  30. # install default config if such doesn't exist