Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 03 Jan 2018 03:20:58 +0000
From:      bugzilla-noreply@freebsd.org
To:        x11@FreeBSD.org
Subject:   [Bug 224847] graphics/mesa-libs: make configure (not config) crashes
Message-ID:  <bug-224847-7141-R9aLUyw9zt@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-224847-7141@https.bugs.freebsd.org/bugzilla/>
References:  <bug-224847-7141@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D224847

--- Comment #4 from software@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+=3DGIT_CEILING_DIRECTORIES=3D/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 portupgr=
ade,
poudriere et al. and to rewrite it from scratch.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-224847-7141-R9aLUyw9zt>