I am trying to build mesa (and dependents) from git repository, but several things have me completely confused:
1. I don't understand this message:
2. Some of the versions from GIT are same or even behind version in ports. I am thinking of dumping git and switching to ports for those equal versions here:
libdrm: git-2.4.14 / ports-2.4.17 (since defined WITHOUT_NOUVEAU)
libXmu: git-1.1.0 / ports-1.1.0
libXxf86vm: git-1.1.1 / ports-1.1.1
xf86vidmodeproto: git-2.3.1 / ports-2.3.1
THESE ARE OK (ahead):
dri2proto: git-2.6 / ports-2.3
glproto: git-1.4.14 / ports-1.4.12
mesa: git-7.11 / ports-MesaDemos-7.6.1
For git version info:
3. I have built and installed the above (except mesa), but the packages do not register themselves in /var/db/ports (nor pkg), and cause portmaster to complain. Having looked through some the Makefiles, I see that they do not have such structure:
I am thinking of adding these manually to the beginning of the Makefiles to get them to register properly. Should I include below code at the end? Is there a better solution?
EDIT: libdrm from git is at: 2.4.29 & not 14.
1. I don't understand this message:
Code:
Your system supports OpenGL version "1.2 Mesa 7.6.1" application needs at least version 1.3 to work
libdrm: git-2.4.14 / ports-2.4.17 (since defined WITHOUT_NOUVEAU)
libXmu: git-1.1.0 / ports-1.1.0
libXxf86vm: git-1.1.1 / ports-1.1.1
xf86vidmodeproto: git-2.3.1 / ports-2.3.1
THESE ARE OK (ahead):
dri2proto: git-2.6 / ports-2.3
glproto: git-1.4.14 / ports-1.4.12
mesa: git-7.11 / ports-MesaDemos-7.6.1
For git version info:
# git tag -l
3. I have built and installed the above (except mesa), but the packages do not register themselves in /var/db/ports (nor pkg), and cause portmaster to complain. Having looked through some the Makefiles, I see that they do not have such structure:
Code:
PORTNAME= libdrm
PORTVERSION= ${LIBDRM_VERSION}
PORTREVISION= 1
CATEGORIES= graphics x11
MASTER_SITES= http://dri.freedesktop.org/libdrm/
MAINTAINER= x11@FreeBSD.org
COMMENT= Userspace interface to kernel Direct Rendering Module services
Code:
.include <bsd.port.post.mk>