Index: devel/googletest/Makefile =================================================================== --- devel/googletest/Makefile +++ 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 @@ -26,6 +26,12 @@ 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) @${REINPLACE_CMD} -E 's/install-(exec|data)-local/&-dummy/' \