aboutsummaryrefslogtreecommitdiffstats
path: root/freebsd
diff options
context:
space:
mode:
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>