aboutsummaryrefslogtreecommitdiff
path: root/x11/nvidia-driver
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2004-08-27 09:24:05 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2004-08-27 09:24:05 +0000
commiteb7041b464a03a555265a0e38b2a1cf58ead259a (patch)
tree48d0e5b7e06758e31715454e2e1de54a65294e0c /x11/nvidia-driver
parent79ee7eef8f752196eb3bdbb609c279e349c8d607 (diff)
downloadports-eb7041b464a03a555265a0e38b2a1cf58ead259a.tar.gz
ports-eb7041b464a03a555265a0e38b2a1cf58ead259a.zip
Notes
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 \