diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2010-02-19 17:38:17 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2010-02-19 17:38:17 +0000 |
commit | 53d4b141a7c8944c3c884c34fa9de394cd894057 (patch) | |
tree | 2943289260282682d47f83b5223d69f2c518310d /x11 | |
parent | 81ee5011c8b09e85903113a5184e3604d5237f69 (diff) | |
download | ports-53d4b141a7c8944c3c884c34fa9de394cd894057.tar.gz ports-53d4b141a7c8944c3c884c34fa9de394cd894057.zip |
Notes
Diffstat (limited to 'x11')
-rw-r--r-- | x11/nvidia-driver/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/x11/nvidia-driver/Makefile b/x11/nvidia-driver/Makefile index 91fe5b42172a..820074d87912 100644 --- a/x11/nvidia-driver/Makefile +++ b/x11/nvidia-driver/Makefile @@ -91,7 +91,7 @@ post-patch: .SILENT # We should support -CURRENT: kill the check ${REINPLACE_CMD} '24,26d' ${WRKSRC}/src/nv-freebsd.h # Adjust for updated d_mmap() in recent -CURRENT -.if ${NVVERSION} < 1952200 +.if ${OSVERSION} > 900005 && ${NVVERSION} < 1952200 ${REINPLACE_CMD} 's/vm_offset_t offset/vm_ooffset_t offset/ ; \ s/vm_offset_t \*address/vm_paddr_t *address/ ; \ s/int nprot/&, vm_memattr_t *memattr/' \ |