svn commit: r541950 - head/mail/libvmime/files
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sat Jul 11 07:49:00 UTC 2020
Author: sunpoet
Date: Sat Jul 11 07:48:56 2020
New Revision: 541950
URL: https://svnweb.freebsd.org/changeset/ports/541950
Log:
Fix build when devel/icu is installed
PR: 246305
Reported by: Mohammad S. Babaei <info at babaei.net>
Added:
head/mail/libvmime/files/patch-CMakeLists.txt (contents, props changed)
Added: head/mail/libvmime/files/patch-CMakeLists.txt
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/mail/libvmime/files/patch-CMakeLists.txt Sat Jul 11 07:48:56 2020 (r541950)
@@ -0,0 +1,17 @@
+--- CMakeLists.txt.orig 2017-01-03 20:00:08 UTC
++++ CMakeLists.txt
+@@ -732,13 +732,8 @@ ENDIF(VMIME_HAVE_TLS_SUPPORT)
+ # Charset conversion library
+
+ INCLUDE(cmake/FindIconv.cmake)
+-INCLUDE(cmake/FindICU.cmake)
+
+-FIND_PACKAGE(ICU QUIET)
+-
+-IF(ICU_LIBRARIES)
+- SET(VMIME_CHARSETCONV_LIB_DETECTED "icu")
+-ELSEIF(ICONV_FOUND)
++IF(ICONV_FOUND)
+ SET(VMIME_CHARSETCONV_LIB_DETECTED "iconv")
+ ELSEIF(WIN32)
+ SET(VMIME_CHARSETCONV_LIB_DETECTED "win")
More information about the svn-ports-head
mailing list