multiarch-magic.patch 1012 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. --- a/src/Makefile.am
  2. +++ b/src/Makefile.am
  3. @@ -1,4 +1,4 @@
  4. -MAGIC = $(pkgdatadir)/magic
  5. +MAGIC = $(libdir)/file/magic
  6. lib_LTLIBRARIES = libmagic.la
  7. include_HEADERS = magic.h
  8. --- a/src/Makefile.in
  9. +++ b/src/Makefile.in
  10. @@ -326,7 +326,7 @@
  11. top_build_prefix = @top_build_prefix@
  12. top_builddir = @top_builddir@
  13. top_srcdir = @top_srcdir@
  14. -MAGIC = $(pkgdatadir)/magic
  15. +MAGIC = $(libdir)/file/magic
  16. lib_LTLIBRARIES = libmagic.la
  17. include_HEADERS = magic.h
  18. AM_CPPFLAGS = -DMAGIC='"/etc/magic:$(MAGIC)"'
  19. --- a/doc/Makefile.am
  20. +++ b/doc/Makefile.am
  21. @@ -1,4 +1,4 @@
  22. -MAGIC = $(pkgdatadir)/magic
  23. +MAGIC = $(libdir)/file
  24. if FSECT5
  25. man_MAGIC = magic.5
  26. else
  27. --- a/doc/magic.man
  28. +++ b/doc/magic.man
  29. @@ -18,7 +18,7 @@
  30. a test for whether the file contains certain
  31. .Dq "magic patterns" .
  32. The file
  33. -.Pa __MAGIC__
  34. +.Pa /usr/share/file/magic.mgc
  35. specifies what patterns are to be tested for, what message or
  36. MIME type to print if a particular pattern is found,
  37. and additional information to extract from the file.