aboutsummaryrefslogtreecommitdiffstats
path: root/freebsd
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2010-05-18 18:53:35 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2010-05-18 18:53:35 +0400
commit54688d609e3e360ec4822dc89b9e896a41418b16 (patch)
tree23bc7d7b890c9457254a5b74adb770325c03591e /freebsd
parent79ea8ac42400da0f153dd0e66ca14f8d10c65508 (diff)
downloadrspamd-54688d609e3e360ec4822dc89b9e896a41418b16.tar.gz
rspamd-54688d609e3e360ec4822dc89b9e896a41418b16.zip
* Fix for FreeBSD 5.0
Diffstat (limited to 'freebsd')
-rw-r--r--freebsd/port/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/freebsd/port/Makefile b/freebsd/port/Makefile
index d75fc40e4..524f0382a 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 <bsd.port.post.mk>