Created attachment 75839 [details] [review] libtasn1 cflags fix p11-kit's configure.ac detects libtasn1, but doesn't pass LIBTASN1_CFLAGS anywhere. So building on FreeBSD fails this way: ./asn1.h:35:10: fatal error: 'libtasn1.h' file not found │······························· #include <libtasn1.h> │······························· ^ │······························· 1 error generated. │······························· *** [asn1.lo] Error code 1 │······························· │······························· Stop in /usr/home/novel/ports_stuff/p11-kit/work/p11-kit-0.15.2/common. Workaround is to explicitly pass "-I/usr/local/include" (the path where libtasn1 includes get installed on FreeBSD). Also, an attached patch fixes the issue for me.
Created attachment 75888 [details] [review] Build with the libtasn1 CFLAGS properly
Comment on attachment 75839 [details] [review] libtasn1 cflags fix Not all of p11-kit uses libtasn1. Attached is a patch which includes LIBTASN1_CFLAGS in the right places.
Created attachment 75903 [details] [review] Build with the libtasn1 CFLAGS properly (updated) Updated the patch to add LIBTASN1_CFLAGS to trust/Makefile.am as well. Now it builds fine for me.
Thanks for the tweak. Pushed.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.