3.0.2-gentoo-prefix.patch 738 B

12345678910111213141516171819202122232425
  1. diff --git a/Makefile.template b/Makefile.template
  2. index 59de553..0ed283d 100644
  3. --- a/Makefile.template
  4. +++ b/Makefile.template
  5. @@ -8,15 +8,15 @@ include VERSION
  6. #
  7. # Where to install the program, data files, and manuals
  8. #
  9. -prefix = /usr/local
  10. +prefix = @GENTOO_PORTAGE_EPREFIX@/usr/
  11. bindir = $(prefix)/bin
  12. datadir = $(prefix)/share/Raster3D/materials
  13. mandir = $(prefix)/man/manl
  14. -htmldir = $(prefix)/share/Raster3D/html
  15. +htmldir = $(prefix)/share/doc/MYPF/html
  16. examdir = $(prefix)/share/Raster3D/examples
  17. -INCDIRS = -I/usr/include -I/usr/local/include
  18. -LIBDIRS = -L/usr/local/lib
  19. +INCDIRS = -I@GENTOO_PORTAGE_EPREFIX@/usr/include
  20. +LIBDIRS = -L@GENTOO_PORTAGE_EPREFIX@/usr/MYLIB
  21. #
  22. # TIFF support (enabled by default)