svn commit: r475033 - head/graphics/podofo/files

Tobias C. Berner tcberner at FreeBSD.org
Fri Jul 20 20:34:07 UTC 2018


Author: tcberner
Date: Fri Jul 20 20:34:06 2018
New Revision: 475033
URL: https://svnweb.freebsd.org/changeset/ports/475033

Log:
  graphics/podofo: Add patch to fix build with upcomeing cmake-3.12
  
  The behaviour of cmake's copy_directory was changed, so that it
  now fails if the source directory does not exist.
  
  PR:		229854
  Reported by:	antoine

Added:
  head/graphics/podofo/files/patch-test_TokenizerTest_CMakeLists.txt   (contents, props changed)

Added: head/graphics/podofo/files/patch-test_TokenizerTest_CMakeLists.txt
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/podofo/files/patch-test_TokenizerTest_CMakeLists.txt	Fri Jul 20 20:34:06 2018	(r475033)
@@ -0,0 +1,11 @@
+Prior to 3.12 cmake silently created an empty destination directory if the origin of the copy_directory does not exist.
+
+--- test/TokenizerTest/CMakeLists.txt.orig	2007-09-16 09:33:38 UTC
++++ test/TokenizerTest/CMakeLists.txt
+@@ -7,5 +7,6 @@ ADD_DEPENDENCIES(TokenizerTest ${PODOFO_DEPEND_TARGET}
+ ADD_CUSTOM_COMMAND(
+     TARGET TokenizerTest
+     POST_BUILD
++    COMMAND "${CMAKE_COMMAND}" -E make_directory "${CMAKE_CURRENT_SOURCE_DIR}/objects"
+     COMMAND "${CMAKE_COMMAND}" -E copy_directory "${CMAKE_CURRENT_SOURCE_DIR}/objects" "${CMAKE_CURRENT_BINARY_DIR}/objects"
+     )


More information about the svn-ports-all mailing list