mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-19 08:13:21 +00:00
x11-servers/xorg-server: unbreak nvidia-driver < 410 after 88b0ae2bb9
Restore libglx.so -> .nvidia/libglx.so hardlink as symlink when xorg-server is reinstalled after nvidia-driver. PR: 271629 Reported by: gallatin
This commit is contained in:
parent
2a6f8cb134
commit
0d5b62609e
x11-servers/xorg-server
@ -1,6 +1,6 @@
|
||||
PORTNAME= xorg
|
||||
PORTVERSION= 21.1.8
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= x11-servers
|
||||
MASTER_SITES= XORG/individual/xserver
|
||||
|
@ -2,5 +2,10 @@
|
||||
|
||||
PREFIX=${PKG_PREFIX-/usr/local}
|
||||
|
||||
if [ -e ${PKG_ROOTDIR}${PREFIX}/lib/xorg/modules/extensions/.nvidia/libglx.so ]; then
|
||||
install -l rs ${PKG_ROOTDIR}${PREFIX}/lib/xorg/modules/extensions/.nvidia/libglx.so \
|
||||
${PKG_ROOTDIR}${PREFIX}/lib/xorg/modules/extensions/libglx.so
|
||||
else
|
||||
install -l rs ${PKG_ROOTDIR}${PREFIX}/lib/xorg/modules/extensions/.xorg/libglx.so \
|
||||
${PKG_ROOTDIR}${PREFIX}/lib/xorg/modules/extensions/libglx.so
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user