summaryrefslogtreecommitdiff
path: root/sci-chemistry/raster3d/files/3.0.2-gentoo-prefix.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /sci-chemistry/raster3d/files/3.0.2-gentoo-prefix.patch
reinit the tree, so we can have metadata
Diffstat (limited to 'sci-chemistry/raster3d/files/3.0.2-gentoo-prefix.patch')
-rw-r--r--sci-chemistry/raster3d/files/3.0.2-gentoo-prefix.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/sci-chemistry/raster3d/files/3.0.2-gentoo-prefix.patch b/sci-chemistry/raster3d/files/3.0.2-gentoo-prefix.patch
new file mode 100644
index 000000000000..19b6cac3a6fe
--- /dev/null
+++ b/sci-chemistry/raster3d/files/3.0.2-gentoo-prefix.patch
@@ -0,0 +1,24 @@
+diff --git a/Makefile.template b/Makefile.template
+index 59de553..0ed283d 100644
+--- a/Makefile.template
++++ b/Makefile.template
+@@ -8,15 +8,15 @@ include VERSION
+ #
+ # Where to install the program, data files, and manuals
+ #
+-prefix = /usr/local
++prefix = @GENTOO_PORTAGE_EPREFIX@/usr/
+ bindir = $(prefix)/bin
+ datadir = $(prefix)/share/Raster3D/materials
+ mandir = $(prefix)/man/manl
+-htmldir = $(prefix)/share/Raster3D/html
++htmldir = $(prefix)/share/doc/MYPF/html
+ examdir = $(prefix)/share/Raster3D/examples
+
+-INCDIRS = -I/usr/include -I/usr/local/include
+-LIBDIRS = -L/usr/local/lib
++INCDIRS = -I@GENTOO_PORTAGE_EPREFIX@/usr/include
++LIBDIRS = -L@GENTOO_PORTAGE_EPREFIX@/usr/MYLIB
+
+ #
+ # TIFF support (enabled by default)