Date: Sun, 24 May 2015 17:03:55 +0000 (UTC) From: Vsevolod Stakhov <vsevolod@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r387284 - head/mail/rspamd/files Message-ID: <201505241703.t4OH3tJq008047@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: vsevolod Date: Sun May 24 17:03:55 2015 New Revision: 387284 URL: https://svnweb.freebsd.org/changeset/ports/387284 Log: Fix build on FreeBSD < 10. Tested by: az Obtained from: git Added: head/mail/rspamd/files/patch-CMakeLists.txt (contents, props changed) Added: head/mail/rspamd/files/patch-CMakeLists.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/mail/rspamd/files/patch-CMakeLists.txt Sun May 24 17:03:55 2015 (r387284) @@ -0,0 +1,14 @@ +diff --git CMakeLists.txt CMakeLists.txt +index c68613c..d90d9c7 100644 +--- CMakeLists.txt ++++ CMakeLists.txt +@@ -444,9 +444,6 @@ IF(CMAKE_SYSTEM_NAME STREQUAL "FreeBSD") + DOC "Path to libutil header") + IF(_LIBUTIL_H) + SET(HAVE_LIBUTIL_H 1) +- INCLUDE_DIRECTORIES(${_LIBUTIL_H}) +- LIST(APPEND CMAKE_REQUIRED_INCLUDES ${_LIBUTIL_H}) +- SET(CMAKE_REQUIRED_LIBRARIES "${CMAKE_REQUIRED_LIBRARIES} -L${LIBUTIL_LIBRARY};-lutil") + LIST(APPEND RSPAMD_REQUIRED_LIBRARIES util) + CHECK_FUNCTION_EXISTS(pidfile_open HAVE_PIDFILE) + CHECK_FUNCTION_EXISTS(pidfile_fileno HAVE_PIDFILE_FILENO)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505241703.t4OH3tJq008047>