From: Vsevolod Stakhov Date: Tue, 18 May 2010 14:53:35 +0000 (+0400) Subject: * Fix for FreeBSD 5.0 X-Git-Tag: 0.3.0~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=54688d609e3e360ec4822dc89b9e896a41418b16;p=thirdparty%2Frspamd.git * Fix for FreeBSD 5.0 --- diff --git a/freebsd/port/Makefile b/freebsd/port/Makefile index d75fc40e4b..524f0382a6 100644 --- a/freebsd/port/Makefile +++ b/freebsd/port/Makefile @@ -76,4 +76,8 @@ USE_LDCONFIG= no PLIST_SUB+= CPLUGINS="" .endif +.if ${OSVERSION} < 600000 +CMAKE_ARGS+= -DCMAKE_EXE_LINKER_FLAGS=-lpthread +.endif + .include