svn commit: r548294 - in head/graphics/kimageannotator: . files

Tobias C. Berner tcberner at FreeBSD.org
Sat Sep 12 07:26:36 UTC 2020


Author: tcberner
Date: Sat Sep 12 07:26:35 2020
New Revision: 548294
URL: https://svnweb.freebsd.org/changeset/ports/548294

Log:
  graphics/kimageannotator: add upstream linkage fix
  
  Obtained from: https://github.com/ksnip/kImageAnnotator/pull/143

Modified:
  head/graphics/kimageannotator/Makefile
  head/graphics/kimageannotator/files/patch-CMakeLists.txt

Modified: head/graphics/kimageannotator/Makefile
==============================================================================
--- head/graphics/kimageannotator/Makefile	Sat Sep 12 07:15:54 2020	(r548293)
+++ head/graphics/kimageannotator/Makefile	Sat Sep 12 07:26:35 2020	(r548294)
@@ -3,6 +3,7 @@
 PORTNAME=	kImageAnnotator
 DISTVERSIONPREFIX=	v
 DISTVERSION=	0.3.2
+PORTREVISION=	1
 CATEGORIES=	graphics kde
 
 MAINTAINER=	kde at FreeBSD.org

Modified: head/graphics/kimageannotator/files/patch-CMakeLists.txt
==============================================================================
--- head/graphics/kimageannotator/files/patch-CMakeLists.txt	Sat Sep 12 07:15:54 2020	(r548293)
+++ head/graphics/kimageannotator/files/patch-CMakeLists.txt	Sat Sep 12 07:26:35 2020	(r548294)
@@ -1,11 +1,15 @@
 --- CMakeLists.txt.orig	2020-07-29 15:03:30 UTC
 +++ CMakeLists.txt
-@@ -70,7 +70,7 @@ target_include_directories(kImageAnnotator
- target_link_libraries(kImageAnnotator PUBLIC Qt5::Widgets Qt5::Svg kColorPicker::kColorPicker)
+@@ -67,10 +67,10 @@ target_include_directories(kImageAnnotator
+ 						   $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
+ 						   )
  
+-target_link_libraries(kImageAnnotator PUBLIC Qt5::Widgets Qt5::Svg kColorPicker::kColorPicker)
++target_link_libraries(kImageAnnotator PUBLIC Qt5::Widgets Qt5::Svg PRIVATE kColorPicker::kColorPicker)
+ 
  if (UNIX AND NOT APPLE)
 -	target_link_libraries(kImageAnnotator PUBLIC X11)
-+	target_link_libraries(kImageAnnotator PUBLIC X11::X11)
++	target_link_libraries(kImageAnnotator PRIVATE X11::X11)
  endif ()
  
  target_compile_definitions(kImageAnnotator PRIVATE KIMAGEANNOTATOR_LIB)


More information about the svn-ports-all mailing list