diff options
author | Adriaan de Groot <adridg@FreeBSD.org> | 2020-07-18 23:31:17 +0000 |
---|---|---|
committer | Adriaan de Groot <adridg@FreeBSD.org> | 2020-07-18 23:31:17 +0000 |
commit | 30d7ae8b37412d4f6f4ea6ed3c0d3a6f0523b053 (patch) | |
tree | cdf5d58672fafd10517edf35e2e150ff8d7dbfd5 /sysutils | |
parent | 9eb83d06fec2448b30dae1f679406cf78e4455e3 (diff) | |
download | ports-30d7ae8b37412d4f6f4ea6ed3c0d3a6f0523b053.tar.gz ports-30d7ae8b37412d4f6f4ea6ed3c0d3a6f0523b053.zip |
Notes
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/krename/files/patch-gentoo_git-krename-5.0.0-exiv2-0.27.patch | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sysutils/krename/files/patch-gentoo_git-krename-5.0.0-exiv2-0.27.patch b/sysutils/krename/files/patch-gentoo_git-krename-5.0.0-exiv2-0.27.patch index 79cba92754b9..5ee9748de534 100644 --- a/sysutils/krename/files/patch-gentoo_git-krename-5.0.0-exiv2-0.27.patch +++ b/sysutils/krename/files/patch-gentoo_git-krename-5.0.0-exiv2-0.27.patch @@ -135,12 +135,15 @@ diff --git a/CMakeLists.txt b/CMakeLists.txt --- src/CMakeLists.txt +++ src/CMakeLists.txt -@@ -23,7 +23,7 @@ if(FREETYPE_FOUND) +@@ -23,7 +23,10 @@ if(FREETYPE_FOUND) include_directories(${FREETYPE_INCLUDE_DIRS}) endif() -add_definitions(${TAGLIB_CFLAGS} ${EXIV2_CFLAGS}) +add_definitions(${TAGLIB_CFLAGS}) ++if(NOT TAGLIB_LIBRARIES) ++ set(TAGLIB_LIBRARIES Taglib::Taglib) ++endif() # Exiv2 needs exceptions kde_enable_exceptions() @@ -157,8 +160,7 @@ diff --git a/CMakeLists.txt b/CMakeLists.txt ) if(TAGLIB_FOUND) target_link_libraries(krename -- ${TAGLIB_LIBRARIES} -+ Taglib::Taglib + ${TAGLIB_LIBRARIES} ) endif() -if(EXIV2_FOUND) |