changeset 5391:6914fa9bf023

gl2ps: dont install docs in dest root * src/gl2ps-2-docpath.patch: new patch * dist-files.mk: add ref to patch
author John Donoghue <john.donoghue@ieee.org>
date Thu, 07 May 2020 19:11:50 -0400
parents a4de1bcb9612
children 46ed1bd834eb
files dist-files.mk src/gl2ps-2-docpath.patch
diffstat 2 files changed, 13 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/dist-files.mk	Thu May 07 18:53:08 2020 -0400
+++ b/dist-files.mk	Thu May 07 19:11:50 2020 -0400
@@ -130,6 +130,7 @@
   ghostscript.mk \
   giflib.mk \
   gl2ps-1-configure.patch \
+  gl2ps-2-docpath.patch \
   gl2ps.mk \
   glew-test.c \
   glew.mk \
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/gl2ps-2-docpath.patch	Thu May 07 19:11:50 2020 -0400
@@ -0,0 +1,12 @@
+diff -ru gl2ps-1.4.2.orig/CMakeLists.txt gl2ps-1.4.2/CMakeLists.txt
+--- gl2ps-1.4.2.orig/CMakeLists.txt	2020-04-25 16:44:55.536814745 -0400
++++ gl2ps-1.4.2/CMakeLists.txt	2020-05-07 19:08:35.538729120 -0400
+@@ -156,7 +156,7 @@
+                              ARCHIVE DESTINATION lib${LIB_SUFFIX})
+ endif()
+ 
+-if(WIN32)
++if(WIN32 AND NOT DEFINED ENV{MSYSTEM})
+   set(GL2PS_DOC .)
+ else()
+   set(GL2PS_DOC share/doc/gl2ps)