tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: devel/snappy fails to build on CentOS 7
Hello Jason,
Jason Bacon writes:
> [...]
> This fixes the issue:
>
> Index: Makefile
> ===================================================================
> RCS file: /cvsroot/pkgsrc/devel/snappy/Makefile,v
> retrieving revision 1.12
> diff -u -r1.12 Makefile
> --- Makefile 27 Aug 2017 09:13:16 -0000 1.12
> +++ Makefile 25 Dec 2018 13:53:48 -0000
> @@ -16,6 +16,12 @@
>
> CMAKE_ARGS+= -DBUILD_SHARED_LIBS=ON
>
> +.include "../../mk/bsd.prefs.mk"
> +
> +.if ${OPSYS} == "Linux"
> +LDFLAGS+= -lpthread
> +.endif
> +
> [...]
Can you please try to add `.include "../../mk/pthread.buildlink3.mk"'
and if it is still not enough also add `PTHREAD_AUTO_VARS= yes'
instead? (I think it should be unconditional, not specific to Linux)
Thank you!
Home |
Main Index |
Thread Index |
Old Index