git: 0195d57f8db7 - main - x11/nvidia-hybrid-graphics: fix rc script

From: Kevin Bowling <kbowling_at_FreeBSD.org>
Date: Fri, 21 Jul 2023 01:13:34 UTC
The branch main has been updated by kbowling:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0195d57f8db774e63fb0e81e7a3cea544b8e59e0

commit 0195d57f8db774e63fb0e81e7a3cea544b8e59e0
Author:     Theron Tarigo <theron.tarigo@gmail.com>
AuthorDate: 2023-07-21 01:12:03 +0000
Commit:     Kevin Bowling <kbowling@FreeBSD.org>
CommitDate: 2023-07-21 01:12:03 +0000

    x11/nvidia-hybrid-graphics: fix rc script
    
    xorg rc script broken since 88b0ae2bb9c6
    
    PR:             266245
---
 x11/nvidia-hybrid-graphics/Makefile             | 2 +-
 x11/nvidia-hybrid-graphics/files/nvidia_xorg.in | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/x11/nvidia-hybrid-graphics/Makefile b/x11/nvidia-hybrid-graphics/Makefile
index 5eea9fe8082a..7b385d28173b 100644
--- a/x11/nvidia-hybrid-graphics/Makefile
+++ b/x11/nvidia-hybrid-graphics/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	nvidia-hybrid-graphics
-PORTVERSION=	0.5
+PORTVERSION=	0.6
 CATEGORIES=	x11
 MASTER_SITES=	# none
 DISTFILES=	# none
diff --git a/x11/nvidia-hybrid-graphics/files/nvidia_xorg.in b/x11/nvidia-hybrid-graphics/files/nvidia_xorg.in
index 34e3e0a5f95b..91a237cad4da 100644
--- a/x11/nvidia-hybrid-graphics/files/nvidia_xorg.in
+++ b/x11/nvidia-hybrid-graphics/files/nvidia_xorg.in
@@ -20,7 +20,7 @@ load_rc_config $name
 
 command=/usr/sbin/daemon
 pidfile=/var/run/${name}.pid
-procname="%%LOCALBASE%%/bin/Xorg"
+procname="%%LOCALBASE%%/libexec/Xorg"
 command_args="-p ${pidfile} -f %%PREFIX%%/bin/Xorg-nvidia-headless"
 start_precmd="${name}_prestart"
 stop_postcmd="${name}_poststop"