summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--science/crf++/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/science/crf++/Makefile b/science/crf++/Makefile
index 02dbaa7126a4..2520ed22912e 100644
--- a/science/crf++/Makefile
+++ b/science/crf++/Makefile
@@ -16,5 +16,12 @@ COMMENT= Yet Another CRF toolkit
GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
+USE_GCC= 3.2+
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500016
+MAKE_ARGS+= LDFLAGS=${PTHREAD_LIBS}
+.endif
+
+.include <bsd.port.post.mk>