Lines 18-24
Link Here
|
18 |
MESAVERSION= ${MESABASEVERSION}${MESASUBVERSION:C/^(.)/.\1/} |
18 |
MESAVERSION= ${MESABASEVERSION}${MESASUBVERSION:C/^(.)/.\1/} |
19 |
MESADISTVERSION=${MESABASEVERSION}${MESASUBVERSION:C/^(.)/-\1/} |
19 |
MESADISTVERSION=${MESABASEVERSION}${MESASUBVERSION:C/^(.)/-\1/} |
20 |
|
20 |
|
21 |
MESABASEVERSION= 13.0.5 |
21 |
MESABASEVERSION= 17.0.0 |
22 |
# if there is a subversion, don't include the '-' between 7.11-rc2. |
22 |
# if there is a subversion, don't include the '-' between 7.11-rc2. |
23 |
MESASUBVERSION= |
23 |
MESASUBVERSION= |
24 |
|
24 |
|
Lines 28-35
DISTFILES= mesa-${MESADISTVERSION}${EXTRACT_SUFX}
Link Here
|
28 |
|
28 |
|
29 |
MAINTAINER= x11@FreeBSD.org |
29 |
MAINTAINER= x11@FreeBSD.org |
30 |
|
30 |
|
31 |
BUILD_DEPENDS+= makedepend:devel/makedepend |
|
|
32 |
|
33 |
USES+= compiler:c++11-lib bison gettext-tools gmake libtool \ |
31 |
USES+= compiler:c++11-lib bison gettext-tools gmake libtool \ |
34 |
localbase pathfix pkgconfig python:2,build shebangfix tar:xz |
32 |
localbase pathfix pkgconfig python:2,build shebangfix tar:xz |
35 |
USE_LDCONFIG= yes |
33 |
USE_LDCONFIG= yes |
Lines 60-66
INSTALL_TARGET= install-strip
Link Here
|
60 |
|
58 |
|
61 |
COMPONENT= ${PORTNAME:tl:C/^lib//:C/mesa-//} |
59 |
COMPONENT= ${PORTNAME:tl:C/^lib//:C/mesa-//} |
62 |
|
60 |
|
63 |
MESA_LLVM_VER=39 |
61 |
MESA_LLVM_VER?= 40 |
64 |
|
62 |
|
65 |
CONFIGURE_ARGS+= --with-sha1=libcrypto |
63 |
CONFIGURE_ARGS+= --with-sha1=libcrypto |
66 |
|
64 |
|
Lines 72-78
CONFIGURE_ARGS+= --enable-gbm
Link Here
|
72 |
# pthread_setspecific which it uses now by default. But since this |
70 |
# pthread_setspecific which it uses now by default. But since this |
73 |
# configure switch is going away ... |
71 |
# configure switch is going away ... |
74 |
# https://lists.freebsd.org/pipermail/freebsd-arch/2016-February/017699.html |
72 |
# https://lists.freebsd.org/pipermail/freebsd-arch/2016-February/017699.html |
75 |
#CONFIGURE_ARGS+= --enable-glx-tls |
73 |
CONFIGURE_ARGS+= --disable-glx-tls |
76 |
|
74 |
|
77 |
# libEGL, dri and clover need gallium enabled. |
75 |
# libEGL, dri and clover need gallium enabled. |
78 |
# the third option in --with-egl-platforms is wayland. |
76 |
# the third option in --with-egl-platforms is wayland. |
Lines 110-118
CONFIGURE_ARGS+= --disable-opencl
Link Here
|
110 |
CONFIGURE_ARGS+= --enable-osmesa |
108 |
CONFIGURE_ARGS+= --enable-osmesa |
111 |
|
109 |
|
112 |
# gallium |
110 |
# gallium |
113 |
BUILD_DEPENDS+= llvm${MESA_LLVM_VER}>=3.9.0_4:devel/llvm${MESA_LLVM_VER} |
111 |
BUILD_DEPENDS+= llvm${MESA_LLVM_VER}>=3.6:devel/llvm${MESA_LLVM_VER} |
114 |
.if ${COMPONENT:Mdri} != "" || ${COMPONENT:Mclover} != "" || ${COMPONENT:Megl} != "" |
112 |
.if ${COMPONENT:Mdri} != "" || ${COMPONENT:Mclover} != "" || ${COMPONENT:Megl} != "" |
115 |
RUN_DEPENDS+= llvm${MESA_LLVM_VER}>=3.9.0_4:devel/llvm${MESA_LLVM_VER} |
113 |
RUN_DEPENDS+= llvm${MESA_LLVM_VER}>=3.6:devel/llvm${MESA_LLVM_VER} |
116 |
.endif |
114 |
.endif |
117 |
|
115 |
|
118 |
CONFIGURE_ENV+= LLVM_CONFIG=${LOCALBASE}/bin/llvm-config${MESA_LLVM_VER} |
116 |
CONFIGURE_ENV+= LLVM_CONFIG=${LOCALBASE}/bin/llvm-config${MESA_LLVM_VER} |