view src/gl2ps-2-docpath.patch @ 6215:d18a5545df0d release

build-gettext: Don't build emacs bindings. * src/build-gettext.mk: The `emacs` installed on the build system might be incompatible with the STL built by build-gcc. We probably don't need the emacs bindings for the `gettext` build tool anyway. So skip building those bindings.
author Markus Mützel <markus.muetzel@gmx.de>
date Sat, 07 May 2022 12:01:10 +0200
parents 6914fa9bf023
children ad50ef752299
line wrap: on
line source

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)