aboutsummaryrefslogtreecommitdiffstats
path: root/x11/nvidia-driver
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2004-08-27 17:24:05 +0800
committerdanfe <danfe@FreeBSD.org>2004-08-27 17:24:05 +0800
commitf51acc0857382ede9846e773745f2aa3c745d073 (patch)
treec90065bf9a40c321e13fd0f5c9c55850262582eb /x11/nvidia-driver
parentf107ae14b6b52e629459ebcb908b8db2fe9baf05 (diff)
downloadfreebsd-ports-gnome-f51acc0857382ede9846e773745f2aa3c745d073.tar.gz
freebsd-ports-gnome-f51acc0857382ede9846e773745f2aa3c745d073.tar.zst
freebsd-ports-gnome-f51acc0857382ede9846e773745f2aa3c745d073.zip
Add forgotten patch from the PR (ports/70564).
Approved by: fjoe (mentor)
Diffstat (limited to 'x11/nvidia-driver')
-rw-r--r--x11/nvidia-driver/Makefile1
-rw-r--r--x11/nvidia-driver/files/patch-lib::Makefile26
2 files changed, 27 insertions, 0 deletions
diff --git a/x11/nvidia-driver/Makefile b/x11/nvidia-driver/Makefile
index 7aa6271a0ac2..9704d6888cc6 100644
--- a/x11/nvidia-driver/Makefile
+++ b/x11/nvidia-driver/Makefile
@@ -7,6 +7,7 @@
PORTNAME= nvidia-driver
PORTVERSION= 1.0.${NVVERSION}
+PORTREVISION= 1
CATEGORIES= x11
MASTER_SITES= http://download.nvidia.com/freebsd/1.0-${NVVERSION}/ \
ftp://download.nvidia.com/freebsd/1.0-${NVVERSION}/ \
diff --git a/x11/nvidia-driver/files/patch-lib::Makefile b/x11/nvidia-driver/files/patch-lib::Makefile
new file mode 100644
index 000000000000..a13784cc0c8a
--- /dev/null
+++ b/x11/nvidia-driver/files/patch-lib::Makefile
@@ -0,0 +1,26 @@
+--- lib/Makefile.orig Mon Aug 16 17:05:30 2004
++++ lib/Makefile Mon Aug 16 17:07:47 2004
+@@ -1,13 +1,19 @@
+ SUBDIR= libGL \
+ libnvidia-tls \
+ libGLcore \
+- libXvMCNVIDIA \
+- compat
++ libXvMCNVIDIA
+
+-FIND_DIRS= /usr/lib ${X11BASE}/lib \
+- /compat/linux/lib \
++.if !defined(WITHOUT_LINUX)
++SUBDIR+= compat
++.endif
++
++FIND_DIRS= /usr/lib ${X11BASE}/lib
++
++.if !defined(WITHOUT_LINUX)
++FIND_DIRS+= /compat/linux/lib \
+ /compat/linux/usr/lib \
+ /compat/linux/usr/X11R6/lib
++.endif
+
+ FIND_FILES!=(find ${FIND_DIRS} \
+ -name libGL.a\* -or \