[Bug 224847] graphics/mesa-libs: make configure (not config) crashes
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Jan 3 03:20:59 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224847
--- Comment #4 from software at bertram-scharpf.de ---
You do not need any details to reproduce it. I found it by remembering
that this problem had occurred here several years ago. As far
as I know, at that time I solved it by a workaround. The ports collection
did not manage to fix this bug up to this day!
The cause for the problem is that LLVM builds a version number
from the Git repository it is held in. Now, in the FreeBSD ports
collection, it gets copied there without a Git history. Still the
configuration searches for a Git repo, and it finds the one in /usr/ports.
I fixed the problem by adding a line in /etc/make.conf:
CONFIGURE_ENV+=GIT_CEILING_DIRECTORIES=/usr/ports
For the meaning of the environment variable see man 1 git.
The line should be put somewhere into Mk/bsd.port.mk; of course it
would be better to throw away the whole ports system together with portupgrade,
poudriere et al. and to rewrite it from scratch.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-x11
mailing list