Page MenuHomeFreeBSD

security/git-crypt: fix build with GCC-based architectures

Authored by pkubaj on Apr 25 2019, 12:30 PM.



Add USES=compiler:c++11-lang to fix build on GCC architectures.

Don't add -L${OPENSSLLIB} unconditionally, do it only when SSL library from ports is used. The reason is that adding -L/usr/lib makes ports GCC want to link to libstdc++ from /usr/lib, not from /usr/local/lib/gcc8.

Tested on powerpc64 and amd64.

Diff Detail

rP FreeBSD ports repository
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

pkubaj created this revision.Apr 25 2019, 12:30 PM
tcberner accepted this revision.Apr 27 2019, 6:52 AM

Looks good to me.

This revision is now accepted and ready to land.Apr 27 2019, 6:52 AM
This revision was automatically updated to reflect the committed changes.