Lines 14-20
Link Here
|
14 |
# ``make DISTVERSION=xxx.yy.zz -DNO_CHECKSUM'' should typically work. |
14 |
# ``make DISTVERSION=xxx.yy.zz -DNO_CHECKSUM'' should typically work. |
15 |
|
15 |
|
16 |
PORTNAME?= nvidia-driver |
16 |
PORTNAME?= nvidia-driver |
17 |
DISTVERSION?= 460.84 |
17 |
DISTVERSION?= 470.57.02 |
18 |
# Always try to set PORTREVISION as it can be overridden by the slave ports |
18 |
# Always try to set PORTREVISION as it can be overridden by the slave ports |
19 |
PORTREVISION?= 0 |
19 |
PORTREVISION?= 0 |
20 |
CATEGORIES= x11 |
20 |
CATEGORIES= x11 |
Lines 44-52
USE_LDCONFIG= yes
Link Here
|
44 |
|
44 |
|
45 |
GLVND_JSON_PATH= ${PREFIX}/share/glvnd/egl_vendor.d |
45 |
GLVND_JSON_PATH= ${PREFIX}/share/glvnd/egl_vendor.d |
46 |
WAYLAND_JSON_PATH= ${PREFIX}/share/egl/egl_external_platform.d |
46 |
WAYLAND_JSON_PATH= ${PREFIX}/share/egl/egl_external_platform.d |
|
|
47 |
VKICD_PATH= ${PREFIX}/share/vulkan/icd.d |
48 |
VKLAYERS_PATH= ${PREFIX}/share/vulkan/implicit_layer.d |
47 |
MAKE_ENV= DEBUG_FLAGS=${DEBUG_FLAGS} \ |
49 |
MAKE_ENV= DEBUG_FLAGS=${DEBUG_FLAGS} \ |
48 |
EGL_GLVND_JSON_PATH=${STAGEDIR}${GLVND_JSON_PATH} \ |
50 |
EGL_GLVND_JSON_PATH=${STAGEDIR}${GLVND_JSON_PATH} \ |
49 |
EGL_WAYLAND_JSON_PATH=${STAGEDIR}${WAYLAND_JSON_PATH} |
51 |
EGL_WAYLAND_JSON_PATH=${STAGEDIR}${WAYLAND_JSON_PATH} \ |
|
|
52 |
VKICD_PATH=${STAGEDIR}${VKICD_PATH} \ |
53 |
VKLAYERS_PATH=${STAGEDIR}${VKLAYERS_PATH} |
50 |
SUB_FILES= pkg-message |
54 |
SUB_FILES= pkg-message |
51 |
.if !defined(LIBGLDIR) |
55 |
.if !defined(LIBGLDIR) |
52 |
SUB_FILES+= nvidia.conf |
56 |
SUB_FILES+= nvidia.conf |
Lines 82-89
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-src_nvidia-modeset_nvidia-modeset-freebs
Link Here
|
82 |
SUB_PATCHES+= extra-patch-src-nvidia_ctl.c \ |
86 |
SUB_PATCHES+= extra-patch-src-nvidia_ctl.c \ |
83 |
extra-patch-src-nvidia_linux.c |
87 |
extra-patch-src-nvidia_linux.c |
84 |
.else |
88 |
.else |
85 |
EXTRA_PATCHES+= ${FILESDIR}/460-patch-lib-libGLX_nvidia-Makefile \ |
89 |
EXTRA_PATCHES+= ${FILESDIR}/460-patch-src-nvidia-nvidia_ctl.c \ |
86 |
${FILESDIR}/460-patch-src-nvidia-nvidia_ctl.c \ |
|
|
87 |
${FILESDIR}/460-patch-src-nvidia-nvidia_linux.c \ |
90 |
${FILESDIR}/460-patch-src-nvidia-nvidia_linux.c \ |
88 |
${FILESDIR}/460-patch-src_nvidia-modeset_nvidia-modeset-freebsd.c |
91 |
${FILESDIR}/460-patch-src_nvidia-modeset_nvidia-modeset-freebsd.c |
89 |
.endif |
92 |
.endif |