Created attachment 194943 [details]
Replace stdc++ with c++
During build of /usr/ports/converters/p5-Encode-Detect
/usr/local/bin/ld: cannot find -lstdc++
Error code 2
Enclosed patch enables build with clang 6.0.0 on "FreeBSD 11.2-STABLE r336017M i386 hqdev-amd64-smp-vga 1102501 1102501"
A gcc7 build will require something like
+ extra_linker_flags => ['-L/usr/local/lib/gcc7/ -lstdc++'],
unfortunately issues with -fstack-protector-strong with arose.
Version 1.01_1 with clang90 shows no errors. Could you confirm?