From owner-svn-ports-all@FreeBSD.ORG Tue Dec 30 20:39:21 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B8ECE836; Tue, 30 Dec 2014 20:39:21 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8AA3C64FDB; Tue, 30 Dec 2014 20:39:21 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id sBUKdLmE044631; Tue, 30 Dec 2014 20:39:21 GMT (envelope-from rakuco@FreeBSD.org) Received: (from rakuco@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id sBUKdL6E044630; Tue, 30 Dec 2014 20:39:21 GMT (envelope-from rakuco@FreeBSD.org) Message-Id: <201412302039.sBUKdL6E044630@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: rakuco set sender to rakuco@FreeBSD.org using -f From: Raphael Kubo da Costa Date: Tue, 30 Dec 2014 20:39:21 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r375855 - head/polish/kadu/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Dec 2014 20:39:21 -0000 Author: rakuco Date: Tue Dec 30 20:39:20 2014 New Revision: 375855 URL: https://svnweb.freebsd.org/changeset/ports/375855 QAT: https://qat.redports.org/buildarchive/r375855/ Log: Add a patch (submitted upstream) to make the port build with CMake 3.1.0. Use the proper syntax for configure_package_config_file(). Verified to also work with CMake 3.0.2. Added: head/polish/kadu/files/ head/polish/kadu/files/patch-CMakeLists.txt (contents, props changed) Added: head/polish/kadu/files/patch-CMakeLists.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/polish/kadu/files/patch-CMakeLists.txt Tue Dec 30 20:39:20 2014 (r375855) @@ -0,0 +1,29 @@ +Submitted upstream: https://gitorious.org/kadu/kadu/merge_requests/2121 + +Make the call to configure_package_config_file work with CMake 3.1.0. + +configure_package_config_file()'s PATH_VARS option expects several +separate variable names instead of one list with all the names. Passing +the values in the expected format fixes the following error: + +CMake Error at /usr/local/share/cmake/Modules/CMakePackageConfigHelpers.cmake:231 (message): + Unknown keywords given to CONFIGURE_PACKAGE_CONFIG_FILE(): + "INCLUDE_DIR;SDK_DIR" +Call Stack (most recent call first): + CMakeLists.txt:226 (configure_package_config_file) + CMakeLists.txt:279 (kadu_configure_package_config_file) +--- CMakeLists.txt ++++ CMakeLists.txt +@@ -221,11 +221,10 @@ + elseif ("${_mode}" STREQUAL INSTALL_TREE) + set (INCLUDE_DIR "${INSTALL_INCLUDE_DIR}") + set (SDK_DIR "${INSTALL_SDK_DIR}") +- list (APPEND path_vars INCLUDE_DIR SDK_DIR) + + configure_package_config_file ("${_in}" "${_out}" + INSTALL_DESTINATION "${INSTALL_CMAKE_DIR}" +- PATH_VARS ${path_vars} ++ PATH_VARS INCLUDE_DIR SDK_DIR + NO_SET_AND_CHECK_MACRO NO_CHECK_REQUIRED_COMPONENTS_MACRO + ) + endif ()