From owner-svn-ports-all@freebsd.org Sun Mar 26 11:48:15 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 29B29D1C5C5; Sun, 26 Mar 2017 11:48:15 +0000 (UTC) (envelope-from rakuco@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 mx1.freebsd.org (Postfix) with ESMTPS id D4E951BEB; Sun, 26 Mar 2017 11:48:14 +0000 (UTC) (envelope-from rakuco@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v2QBmD9O048567; Sun, 26 Mar 2017 11:48:13 GMT (envelope-from rakuco@FreeBSD.org) Received: (from rakuco@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v2QBmDc2048565; Sun, 26 Mar 2017 11:48:13 GMT (envelope-from rakuco@FreeBSD.org) Message-Id: <201703261148.v2QBmDc2048565@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: rakuco set sender to rakuco@FreeBSD.org using -f From: Raphael Kubo da Costa Date: Sun, 26 Mar 2017 11:48:13 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r436959 - in head/sysutils/baloo: . 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.23 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: Sun, 26 Mar 2017 11:48:15 -0000 Author: rakuco Date: Sun Mar 26 11:48:13 2017 New Revision: 436959 URL: https://svnweb.freebsd.org/changeset/ports/436959 Log: Add "baloofiles" to the list of exported CMake libraries. In practice, this means linking against "baloofiles" in CMake passes "/full/path/to/libbaloofiles.so" instead of "-lbaloofiles" to the linker. The latter may fail if -L/full/path/to is not passed as well. Added: head/sysutils/baloo/files/patch-src_file_lib_CMakeLists.txt (contents, props changed) Modified: head/sysutils/baloo/Makefile Modified: head/sysutils/baloo/Makefile ============================================================================== --- head/sysutils/baloo/Makefile Sun Mar 26 11:47:29 2017 (r436958) +++ head/sysutils/baloo/Makefile Sun Mar 26 11:48:13 2017 (r436959) @@ -2,7 +2,7 @@ PORTNAME= baloo PORTVERSION= ${KDE4_VERSION} -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= sysutils kde kde-kde4 MAINTAINER= kde@FreeBSD.org Added: head/sysutils/baloo/files/patch-src_file_lib_CMakeLists.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/baloo/files/patch-src_file_lib_CMakeLists.txt Sun Mar 26 11:48:13 2017 (r436959) @@ -0,0 +1,28 @@ +Backport of the "export baloofiles with the rest of the targets" part. + +This is necessary so that the CMake exports file has an entry for baloofiles, +and linking against it passes "/full/path/to/libbaloofiles.so" instead of +"-lbaloofiles" to the linker. The latter may fail if -L/full/path/to is not +passed as well. + +commit 66068074c64b2a4a68a3dda567904704b0ae1f02 +Author: Aleix Pol +Date: Wed Mar 12 17:51:02 2014 +0100 + +Improvements on Baloo's cmake architecture + +Install a file indicating the version +Port linking variables into the proper targets +Export baloofiles with the rest of the targets + +--- src/file/lib/CMakeLists.txt ++++ src/file/lib/CMakeLists.txt +@@ -33,7 +33,7 @@ set_target_properties(baloofiles PROPERTIES + SOVERSION ${BALOO_VERSION_MAJOR} + ) + +-install(TARGETS baloofiles ${INSTALL_TARGETS_DEFAULT_ARGS}) ++install(TARGETS baloofiles EXPORT BalooLibraryTargets ${INSTALL_TARGETS_DEFAULT_ARGS}) + + install(FILES + file.h