diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2019-05-22 07:49:41 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2019-05-22 07:49:41 +0000 |
commit | 78b555aea6931e9d1b6febc5a7a8aeb6338fc7f0 (patch) | |
tree | 7fc2f867b24bdb485900142a595d494d64985121 /x11 | |
parent | c7b7226b91abc09f1913b77b3bee8e3a774620a7 (diff) | |
download | ports-78b555aea6931e9d1b6febc5a7a8aeb6338fc7f0.tar.gz ports-78b555aea6931e9d1b6febc5a7a8aeb6338fc7f0.zip |
Unbreak the build after base (src) r347984.
PR: 238018
Differential Revision: https://reviews.freebsd.org/D20350
Notes
Notes:
svn path=/head/; revision=502258
Diffstat (limited to 'x11')
-rw-r--r-- | x11/nvidia-driver/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/x11/nvidia-driver/Makefile b/x11/nvidia-driver/Makefile index ec269f712aaf..5a1adc6a0323 100644 --- a/x11/nvidia-driver/Makefile +++ b/x11/nvidia-driver/Makefile @@ -434,6 +434,11 @@ post-patch: .SILENT -e 's/kmem_free(kmem_arena, /kmem_free(/' \ ${WRKSRC}/src/${NVSRC}/nvidia_subr.c .endif +# Pull the right header after FreeBSD src r347984 +.if ${OSVERSION} >= 1300029 && ${NVVERSION} >= 358.009 + ${REINPLACE_CMD} -e '/^#include/s:lock\.h:mutex.h:' \ + ${WRKSRC}/src/nvidia-modeset/nvidia-modeset-freebsd.c +.endif # Disable installation of Linux libraries ${REINPLACE_CMD} -e 's/exists(\/.*/& \&\& 0/' \ ${WRKSRC}/lib/Makefile |