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)
Sun, May 3, 1:13 PM
Unknown Object (File)
Thu, Apr 30, 1:03 AM
Unknown Object (File)
Tue, Apr 28, 3:43 PM
Unknown Object (File)
Tue, Apr 28, 3:33 PM
Unknown Object (File)
Tue, Apr 28, 10:42 AM
Unknown Object (File)
Mon, Apr 27, 3:29 PM
Unknown Object (File)
Sun, Apr 26, 11:59 PM
Unknown Object (File)
Mon, Apr 20, 10:43 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
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.