Created attachment 203584 [details]
This port requires C11 and C++17 compatible compiler, so add USES=compiler:c11 to fix build on GCC architectures.
Additionally, passing --with-openssl=/usr (with base OpenSSL) adds -L/usr/lib to LDFLAGS, which causes GCC to try to link to base libstdc++, instead of the 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.
Created attachment 203585 [details]
Correct --with to --enable.
A commit references this bug:
Date: Sat Apr 20 23:08:34 UTC 2019
New revision: 499489
Fix build on powerpc
Submitted by: pkubaj