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)
Sat, Oct 3, 6:02 PM
Unknown Object (File)
Mon, Sep 28, 6:53 PM
Unknown Object (File)
Mon, Sep 28, 1:48 PM
Unknown Object (File)
Sat, Sep 26, 6:43 AM
Unknown Object (File)
Thu, Sep 24, 8:10 PM
Unknown Object (File)
Thu, Sep 24, 6:08 AM
Unknown Object (File)
Thu, Sep 24, 5:16 AM
Unknown Object (File)
Wed, Sep 23, 4:39 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