Page MenuHomeFreeBSD

lang/maude: fix build on GCC architectures
AbandonedPublic

Authored by linimon on Aug 2 2019, 10:06 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, May 2, 10:46 AM
Unknown Object (File)
Thu, May 2, 10:46 AM
Unknown Object (File)
Thu, May 2, 9:19 AM
Unknown Object (File)
Mar 22 2024, 2:32 PM
Unknown Object (File)
Mar 6 2024, 2:52 PM
Unknown Object (File)
Jan 15 2024, 4:10 PM
Unknown Object (File)
Dec 27 2023, 5:42 AM
Unknown Object (File)
Dec 20 2023, 1:34 AM
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
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 25649
Build 24242: arc lint + arc unit

Event Timeline

lang/maude/Makefile
44

shouldn't Mk/Uses/ncurses.mk be adapted to do this properly itself?

lang/maude/Makefile
44

Since -I and -L are passed here manually (instead of in ncurses.mk), I didn't want to touch ncurses.mk. If someone ncurses.mk adds appriopriate -I and -L sometime, then this .if should also be put there.

This fails to build for me on powerpc64 13.0-CURRENT r349478:

In file included from ../../src/Mixfix/variableGenerator.hh:33,

from descentFunctions.cc:584,
from metaLevelOpSymbol.cc:100:

/usr/local/include/cvc4/expr/expr_manager.h:47:10: fatal error: cvc4_public.h: No such file or directory
#include "cvc4_public.h"

linimon abandoned this revision.
linimon edited reviewers, added: pkubaj; removed: linimon.

replaced by D21397.