| Server IP : 82.208.35.60 / Your IP : 216.73.216.238 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/deskutils/cairo-dock-plugins/files/ |
Upload File : |
--- CMakeLists.txt.orig 2015-02-19 16:13:47 UTC
+++ CMakeLists.txt
@@ -978,9 +978,8 @@ set (with_mail no)
# find the compilation flags
enable_if_not_defined (enable-mail)
if (enable-mail)
- find_program (LIBETPAN_CONFIG_EXECUTABLE libetpan-config)
execute_process(
- COMMAND ${LIBETPAN_CONFIG_EXECUTABLE} --cflags
+ COMMAND pkg-config libetpan --cflags
OUTPUT_VARIABLE MAIL_PACKAGE_CFLAGS)
if (NOT "${MAIL_PACKAGE_CFLAGS}" STREQUAL "" AND NOT "${MAIL_PACKAGE_CFLAGS}" STREQUAL "\n") # if there is a problem with the previous, we don't want to have a lot of errors
STRING (REGEX REPLACE "\n" "" TMP_VARIABLE "${MAIL_PACKAGE_CFLAGS}") # to not skip the last option
@@ -993,7 +992,7 @@ if (enable-mail)
endif()
# find the link flags
execute_process(
- COMMAND ${LIBETPAN_CONFIG_EXECUTABLE} --libs
+ COMMAND pkg-config libetpan --libs
OUTPUT_VARIABLE MAIL_PACKAGE_LIBS)
if (NOT "${MAIL_PACKAGE_LIBS}" STREQUAL "")
STRING (REGEX REPLACE "\n" "" MAIL_PACKAGE_LIBS "${MAIL_PACKAGE_LIBS}")