Date: Thu, 11 Apr 2019 12:21:58 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 237200] databases/libzdb: fix build with GCC-based architectures Message-ID: <bug-237200-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237200 Bug ID: 237200 Summary: databases/libzdb: fix build with GCC-based architectures Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: sunpoet@FreeBSD.org Reporter: pkubaj@anongoth.pl Flags: maintainer-feedback?(sunpoet@FreeBSD.org) Assignee: sunpoet@FreeBSD.org Created attachment 203584 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D203584&action= =3Dedit patch This port requires C11 and C++17 compatible compiler, so add USES=3Dcompile= r:c11 to fix build on GCC architectures. Additionally, passing --with-openssl=3D/usr (with base OpenSSL) adds -L/usr= /lib to LDFLAGS, which causes GCC to try to link to base libstdc++, instead of t= he new one from ports, so don't pass the directory to OpenSSL when using base = SSL library. Also, add include cassert to test/zdbpp.cpp. Tested on powerpc64 and amd64. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-237200-7788>