svn commit: r387284 - head/mail/rspamd/files
Vsevolod Stakhov
vsevolod at FreeBSD.org
Sun May 24 17:03:56 UTC 2015
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)
More information about the svn-ports-all
mailing list