Closed oparoz closed 8 years ago
Ah, I just found out that make reinstall
works from bash and there the path is different, /usr/local
comes first. I don't think it's a proper solution though. Am I wrong?
I do not think this is a portmaster issue, but a ports issue, I have faced the same issue (well it was highlighted by) when updating binutils to 2.26
It's true that I don't have the issue on 9.x, using gcc from ports.
OK, so the workaround seems to be to add LDFLAGS+=-B${LOCALBASE}/bin
to make.conf
Env
FreeBSD 10.2, amd64 Toolchain from ports: llvm37, clang37, binutils
Problem
When using portmaster to install ports (some of which were first installed as packages), the wrong linker is being used.
If I don't use portmaster and do a
make reinstall
, then the correct linker is being used. I can't find a portmaster variable which could fix the problem.Conf