Page MenuHomeFreeBSD

lang/maude: fix build on GCC architectures
ClosedPublic

Authored by pkubaj on Aug 24 2019, 12:37 PM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 16 2024, 11:32 PM
Unknown Object (File)
Nov 24 2024, 7:37 PM
Unknown Object (File)
Nov 22 2024, 5:56 AM
Unknown Object (File)
Nov 21 2024, 1:36 AM
Unknown Object (File)
Nov 19 2024, 7:21 AM
Unknown Object (File)
Nov 8 2024, 3:49 AM
Unknown Object (File)
Nov 6 2024, 11:56 PM
Unknown Object (File)
Nov 6 2024, 5:22 PM
Subscribers
None

Details

Summary

Don't link unconditinally with $NCURSESLIB. When NCURSESLIB is /usr/lib and the system compiler is base GCC, GCC from ports (currently GCC9) is used. Passing -L/usr/lib makes GCC try to link to base libstdc++ instead the one from ports.

Also add USES=localbase:ldflags.

PR: 239481

Diff Detail

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