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)
Wed, Oct 15, 10:33 PM
Unknown Object (File)
Mon, Oct 6, 2:03 PM
Unknown Object (File)
Fri, Oct 3, 5:36 AM
Unknown Object (File)
Thu, Oct 2, 4:57 PM
Unknown Object (File)
Thu, Oct 2, 3:42 PM
Unknown Object (File)
Thu, Sep 18, 7:22 PM
Unknown Object (File)
Wed, Sep 17, 2:07 PM
Unknown Object (File)
Sep 11 2025, 12:16 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