]> source.dussan.org Git - rspamd.git/commitdiff
* Fix for FreeBSD 5.0
authorVsevolod Stakhov <vsevolod@rambler-co.ru>
Tue, 18 May 2010 14:53:35 +0000 (18:53 +0400)
committerVsevolod Stakhov <vsevolod@rambler-co.ru>
Tue, 18 May 2010 14:53:35 +0000 (18:53 +0400)
freebsd/port/Makefile

index d75fc40e4b013ba6acd03192076b584069b28ed0..524f0382a64d6d5febc878db5882f1149b15306f 100644 (file)
@@ -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>