1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

Fix damage done in r421117: UPDATING entries do not make good `pkg-message'

files, especially when there already is existing `files/pkg-message.in'.

Unfortunately, this now requires port revision bump in all three ports.

Pointy hat to:	cem
This commit is contained in:
Alexey Dokuchaev 2016-08-30 16:51:21 +00:00
parent ef6db137a3
commit 5525c83da3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=421123
5 changed files with 15 additions and 20 deletions

View File

@ -3,7 +3,7 @@
DISTVERSION= 304.131
# Explicitly set PORTREVISION as it can be overridden by the master port
PORTREVISION= 0
PORTREVISION= 1
MASTERDIR= ${.CURDIR}/../nvidia-driver
PKGNAMESUFFIX= -304

View File

@ -3,7 +3,7 @@
DISTVERSION= 340.96
# Explicitly set PORTREVISION as it can be overridden by the master port
PORTREVISION= 0
PORTREVISION= 1
MASTERDIR= ${.CURDIR}/../nvidia-driver
PKGNAMESUFFIX= -340

View File

@ -12,7 +12,7 @@
PORTNAME= nvidia-driver
DISTVERSION?= 367.35
# Always try to set PORTREVISION as it can be overridden by the slave ports
PORTREVISION?= 1
PORTREVISION?= 2
CATEGORIES= x11
MASTER_SITES= NVIDIA/XFree86/FreeBSD-${ARCH_SUFX}/${DISTVERSION}
DISTNAME= NVIDIA-FreeBSD-${ARCH_SUFX}-${DISTVERSION}
@ -241,9 +241,6 @@ post-install: .SILENT
.endif
.if ${NVVERSION} < 358.009
${REINPLACE_CMD} '/nvidia-modeset.ko/d' ${TMPPLIST}
.else
${REINPLACE_CMD} 's/nvidia$$/nvidia-modeset/ ; s/nvidia_/nvidia-modeset_/' \
${PKGMESSAGE}
.endif
.if ${NVVERSION} >= 361.028
${REINPLACE_CMD} -E '/(EGL_nvidia\.so|GLESv[12](_CM)?(\.so\.[0-9]+\.[0-9]+))$$/d' \

View File

@ -1,11 +1,11 @@
To use these drivers, make sure that you have loaded the NVidia kernel
module, by doing
# kldload nvidia
# kldload nvidia (or nvidia-modeset, see below)
or adding
nvidia_load="YES"
nvidia_load="YES" (or nvidia-modeset_load="YES", see below)
to your /boot/loader.conf.
@ -30,4 +30,14 @@ If X.org cannot start and reports
in /var/log/Xorg.0.log while actually you have ``options SYSVSHM''
enabled in kernel, the sysctl ``kern.ipc.shmall'' should be increased.
Starting with version 358.09, some important functionality of the driver
has been broken out into a separate kernel module, nvidia-modeset.ko.
Users that experience a hang when starting X11 server, or observe
(II) NVIDIA(0): Validated MetaModes:
(II) NVIDIA(0): "NULL"
in /var/log/Xorg.0.log should replace `nvidia.ko' with `nvidia-modeset.ko'
in their /boot/loader.conf or /etc/rc.conf configuration files.
See %%DOCSDIR%%/README for more information.

View File

@ -1,12 +0,0 @@
The Nvidia driver has been updated to 367.35. In this version of the driver,
some important functionality has been broken out into a separate
nvidia-modeset.ko.
Users that experience a hang starting X or observe
[ 43.243] (II) NVIDIA(0): Validated MetaModes:
[ 43.243] (II) NVIDIA(0): "NULL"
in their Xorg.logs should replace 'nvidia.ko' with 'nvidia-modeset.ko' in their
loader.conf or rc.conf configurations. (nvidia-modeset.ko has a MODULE_DEPENDS
relationship to nvidia.ko and will bring it in automatically.)