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
F82136993: D20053.diff
Thu, Apr 25, 8:36 PM
Unknown Object (File)
Sat, Apr 20, 3:01 PM
Unknown Object (File)
Jan 24 2024, 10:11 PM
Unknown Object (File)
Dec 20 2023, 12:25 AM
Unknown Object (File)
Nov 27 2023, 3:53 PM
Unknown Object (File)
Nov 27 2023, 3:53 PM
Unknown Object (File)
Nov 27 2023, 3:53 PM
Unknown Object (File)
Nov 27 2023, 3:39 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
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 23897
Build 22822: arc lint + arc unit

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.