Page MenuHomeFreeBSD

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

Authored by pkubaj on Apr 25 2019, 12:30 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Jul 27, 4:58 AM
Unknown Object (File)
Jun 22 2025, 4:25 PM
Unknown Object (File)
Jun 21 2025, 1:37 PM
Unknown Object (File)
Jun 21 2025, 1:25 PM
Unknown Object (File)
Jun 14 2025, 6:15 AM
Unknown Object (File)
Jun 11 2025, 1:14 AM
Unknown Object (File)
Jan 25 2025, 7:39 PM
Unknown Object (File)
Jan 18 2025, 5:55 PM
Subscribers
None

Details

Summary

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.

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237525

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

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.