Index: head/devel/googletest/Makefile =================================================================== --- head/devel/googletest/Makefile +++ head/devel/googletest/Makefile @@ -4,7 +4,7 @@ PORTNAME= googletest DISTVERSIONPREFIX= release- DISTVERSION= 1.8.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel MAINTAINER= jbeich@FreeBSD.org @@ -25,6 +25,12 @@ TEST_TARGET= check INSTALL_TARGET= install-strip USE_LDCONFIG= yes + +# googletest requires pthread in order to function and does not properly +# detect pthread support. +# +# See: https://github.com/google/googletest/issues/2162 +LIBS+= -lpthread post-patch: # enable vendor make install again (revert 661758e)