Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Dec 2014 17:46:04 +0000 (UTC)
From:      Raphael Kubo da Costa <rakuco@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r375907 - head/polish/kadu/files
Message-ID:  <201412311746.sBVHk4ub069166@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rakuco
Date: Wed Dec 31 17:46:03 2014
New Revision: 375907
URL: https://svnweb.freebsd.org/changeset/ports/375907
QAT: https://qat.redports.org/buildarchive/r375907/

Log:
  CMake 3.1.0 compatibility, take 2.
  
  Add another patch of mine sent upstream to make the port build with CMake
  3.1.0. No PORTREVISION bump as there should be no changes in functionality
  or contents of the generated package.

Added:
  head/polish/kadu/files/
  head/polish/kadu/files/patch-cmake_3.1.0   (contents, props changed)

Added: head/polish/kadu/files/patch-cmake_3.1.0
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/polish/kadu/files/patch-cmake_3.1.0	Wed Dec 31 17:46:03 2014	(r375907)
@@ -0,0 +1,37 @@
+Submitted upstream: https://gitorious.org/kadu/kadu/merge_requests/2122
+
+From: Raphael Kubo da Costa <rakuco@FreeBSD.org>
+Date: Wed, 31 Dec 2014 01:15:28 +0200
+Subject: [PATCH] Rename INSTALL_PREFIX to KADU_INSTALL_PREFIX.
+
+In CMake 3.1.0, INSTALL_PREFIX is now an optional argument to
+configure_package_config_file(), so our call was confusing the
+function's argument parsing code.
+
+Fix it by renaming INSTALL_PREFIX to KADU_INSTALL_PREFIX.
+
+Signed-off-by: Raphael Kubo da Costa <rakuco@FreeBSD.org>
+--- CMakeLists.txt
++++ CMakeLists.txt
+@@ -195,8 +195,8 @@ foreach (install_var ${install_vars})
+ 	endif ()
+ endforeach ()
+ 
+-set (INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
+-set (path_vars INSTALL_PREFIX)
++set (KADU_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
++set (path_vars KADU_INSTALL_PREFIX)
+ if (UNIX AND NOT APPLE)
+ 	list (APPEND path_vars DESKTOP_FILE_DIR)
+ endif ()
+--- cmake/KaduConfig.cmake.in
++++ cmake/KaduConfig.cmake.in
+@@ -20,7 +20,7 @@ endif ()
+ set (KADU_INCLUDE_DIR "@PACKAGE_INCLUDE_DIR@")
+ set (KADU_INCLUDE_DIRS "@PACKAGE_INCLUDE_DIR@" "@PACKAGE_INCLUDE_DIR@/kadu-core")
+ set (KADU_SDK_DIR "@PACKAGE_SDK_DIR@")
+-set (KADU_INSTALL_PREFIX "@PACKAGE_INSTALL_PREFIX@")
++set (KADU_INSTALL_PREFIX "@PACKAGE_KADU_INSTALL_PREFIX@")
+ 
+ set (KADU_INSTALL_SDK "@INSTALL_SDK@")
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201412311746.sBVHk4ub069166>