From owner-svn-ports-head@freebsd.org Fri Jul 20 20:34:07 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 32C6F1051B8F; Fri, 20 Jul 2018 20:34:07 +0000 (UTC) (envelope-from tcberner@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D93638C414; Fri, 20 Jul 2018 20:34:06 +0000 (UTC) (envelope-from tcberner@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id BB25C1522A; Fri, 20 Jul 2018 20:34:06 +0000 (UTC) (envelope-from tcberner@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w6KKY6Ze092229; Fri, 20 Jul 2018 20:34:06 GMT (envelope-from tcberner@FreeBSD.org) Received: (from tcberner@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w6KKY6ax092228; Fri, 20 Jul 2018 20:34:06 GMT (envelope-from tcberner@FreeBSD.org) Message-Id: <201807202034.w6KKY6ax092228@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tcberner set sender to tcberner@FreeBSD.org using -f From: "Tobias C. Berner" Date: Fri, 20 Jul 2018 20:34:06 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r475033 - head/graphics/podofo/files X-SVN-Group: ports-head X-SVN-Commit-Author: tcberner X-SVN-Commit-Paths: head/graphics/podofo/files X-SVN-Commit-Revision: 475033 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jul 2018 20:34:07 -0000 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" + )