1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00
freebsd-ports/x11/nvidia-driver/files/extra-patch-x11-driver-Makefile
Alexey Dokuchaev a7cfe935cf - Unbreak the build of 173.14.xx legacy version on recent -CURRENT, and
use more accurate OSVERSION value in the check (1000000 -> 1000041)
- Fix regression introduced in r342061, when <bsd.port.options.mk> was
  included before OPTIONS definitions
- Rename patches to get rid of those ugly double underscores (yuck!)
- Wrap couple of overly long lines after STAGEDIR conversion in r342050
- Create `drivers' and `extensions' directories in pre-install, not in
  pre-su-install: no longer needed for stagified port
- Fix regex when patching lib/Makefile for WITHOUT_LINUX handling, and
  improve nearby expressions while here as well
2014-02-27 07:50:03 +00:00

12 lines
402 B
Plaintext

--- x11/driver/Makefile.orig 2013-08-16 10:53:30.000000000 +0200
+++ x11/driver/Makefile 2014-01-27 18:25:14.000000000 +0100
@@ -5,7 +5,7 @@
.endif
DRIVERS= nvidia_drv.o nvidia_drv.so
-.if exists(${LOCALBASE}/lib/xorg/modules/drivers)
+.if exists(${DESTDIR}${LOCALBASE}/lib/xorg/modules/drivers)
DRIVERDIR= ${LOCALBASE}/lib/xorg/modules/drivers
.else
DRIVERDIR= ${LOCALBASE}/lib/modules/drivers