diff options
author | olgeni <olgeni@FreeBSD.org> | 2003-06-08 02:53:22 +0800 |
---|---|---|
committer | olgeni <olgeni@FreeBSD.org> | 2003-06-08 02:53:22 +0800 |
commit | 88e86c8df86cfe21c35e26ec6763934b76158bc3 (patch) | |
tree | 2106e7e8b00dd7846cf99696d9dec007afe936c8 /x11 | |
parent | 1d76ea2e94b8023b1b6aea46143c389a6c90c8ea (diff) | |
download | freebsd-ports-gnome-88e86c8df86cfe21c35e26ec6763934b76158bc3.tar.gz freebsd-ports-gnome-88e86c8df86cfe21c35e26ec6763934b76158bc3.tar.zst freebsd-ports-gnome-88e86c8df86cfe21c35e26ec6763934b76158bc3.zip |
Fix plist for -CURRENT: kernel module lives in /boot/kernel/ and
MAKEDEV.nvidia is not installed in /dev/.
Diffstat (limited to 'x11')
-rw-r--r-- | x11/nvidia-driver/Makefile | 6 | ||||
-rw-r--r-- | x11/nvidia-driver/pkg-plist | 37 |
2 files changed, 25 insertions, 18 deletions
diff --git a/x11/nvidia-driver/Makefile b/x11/nvidia-driver/Makefile index 3748f0fda85e..e16e01a2d60b 100644 --- a/x11/nvidia-driver/Makefile +++ b/x11/nvidia-driver/Makefile @@ -31,6 +31,12 @@ USE_LINUX= yes .include <bsd.port.pre.mk> +.if ${OSVERSION} < 500000 +PLIST_SUB+= FREEBSD5="@comment " FREEBSD4="" +.else +PLIST_SUB+= FREEBSD5="" FREEBSD4="@comment " +.endif + .if ${OSVERSION} > 500000 && ${OSVERSION} < 500105 IGNORE= "You need a more recent version of -CURRENT for this driver" .endif diff --git a/x11/nvidia-driver/pkg-plist b/x11/nvidia-driver/pkg-plist index 30ac36c253f3..fb66404764a1 100644 --- a/x11/nvidia-driver/pkg-plist +++ b/x11/nvidia-driver/pkg-plist @@ -27,25 +27,26 @@ share/doc/NVIDIA/README share/doc/NVIDIA/README.Linux share/doc/NVIDIA/XF86Config.sample share/doc/NVIDIA/license.txt -@cwd /modules +%%FREEBSD4%%@cwd /modules +%%FREEBSD5%%@cwd /boot/kernel nvidia.ko -@cwd /dev -MAKEDEV.nvidia -@exec mknod /dev/nvidia0 c 180 0 -@exec chmod 0666 /dev/nvidia0 -@exec mknod /dev/nvidia1 c 180 1 -@exec chmod 0666 /dev/nvidia1 -@exec mknod /dev/nvidia2 c 180 2 -@exec chmod 0666 /dev/nvidia2 -@exec mknod /dev/nvidia3 c 180 3 -@exec chmod 0666 /dev/nvidia3 -@exec mknod /dev/nvidiactl c 180 255 -@exec chmod 0666 /dev/nvidiactl -@unexec rm -f /dev/nvidia0 -@unexec rm -f /dev/nvidia1 -@unexec rm -f /dev/nvidia2 -@unexec rm -f /dev/nvidia3 -@unexec rm -f /dev/nvidiactl +%%FREEBSD4%%@cwd /dev +%%FREEBSD4%%MAKEDEV.nvidia +%%FREEBSD4%%@exec mknod /dev/nvidia0 c 180 0 +%%FREEBSD4%%@exec chmod 0666 /dev/nvidia0 +%%FREEBSD4%%@exec mknod /dev/nvidia1 c 180 1 +%%FREEBSD4%%@exec chmod 0666 /dev/nvidia1 +%%FREEBSD4%%@exec mknod /dev/nvidia2 c 180 2 +%%FREEBSD4%%@exec chmod 0666 /dev/nvidia2 +%%FREEBSD4%%@exec mknod /dev/nvidia3 c 180 3 +%%FREEBSD4%%@exec chmod 0666 /dev/nvidia3 +%%FREEBSD4%%@exec mknod /dev/nvidiactl c 180 255 +%%FREEBSD4%%@exec chmod 0666 /dev/nvidiactl +%%FREEBSD4%%@unexec rm -f /dev/nvidia0 +%%FREEBSD4%%@unexec rm -f /dev/nvidia1 +%%FREEBSD4%%@unexec rm -f /dev/nvidia2 +%%FREEBSD4%%@unexec rm -f /dev/nvidia3 +%%FREEBSD4%%@unexec rm -f /dev/nvidiactl @cwd %%LINUXBASE%% usr/lib/libGL.so.1.0.3203 usr/lib/libGLcore.so.1.0.3203 |