source: build-files/ports-overlay/graphics/opencolorio/files/patch-share__cmake__OCIOMacros.cmake @ 1e102bd

9.2-releasereleng/10.0releng/10.0.1releng/10.0.2releng/10.0.3releng/10.1
Last change on this file since 1e102bd was 1e102bd, checked in by Kris Moore <kris@…>, 14 months ago

Add a bunch of modified ports for 10.0, so we can fix the building

  • Property mode set to 100644
File size: 968 bytes
Line 
1--- ./share/cmake/OCIOMacros.cmake.orig 2012-04-18 09:38:16.000000000 +0930
2+++ ./share/cmake/OCIOMacros.cmake      2012-10-08 00:20:27.666350767 +1030
3@@ -294,7 +294,7 @@
4 MACRO(ExtractRstCPP INFILE OUTFILE)
5    add_custom_command(
6       OUTPUT ${OUTFILE}
7-      COMMAND ${CMAKE_SOURCE_DIR}/share/sphinx/ExtractRstFromSourceCPP.py ${INFILE} ${OUTFILE}
8+      COMMAND python ${CMAKE_SOURCE_DIR}/share/sphinx/ExtractRstFromSourceCPP.py ${INFILE} ${OUTFILE}
9       DEPENDS ${INFILE}
10       COMMENT "Extracting reStructuredText from ${INFILE} (using old process)"
11    )
12@@ -303,7 +303,7 @@
13 MACRO(ExtractRstSimple INFILE OUTFILE)
14    add_custom_command(
15       OUTPUT ${OUTFILE}
16-      COMMAND ${CMAKE_SOURCE_DIR}/share/sphinx/ExtractRstFromSourceSimple.py ${INFILE} ${OUTFILE}
17+      COMMAND python ${CMAKE_SOURCE_DIR}/share/sphinx/ExtractRstFromSourceSimple.py ${INFILE} ${OUTFILE}
18       DEPENDS ${INFILE}
19       COMMENT "Extracting reStructuredText from ${INFILE}"
20    )
Note: See TracBrowser for help on using the repository browser.