aboutsummaryrefslogtreecommitdiff
path: root/x11/nvidia-driver
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2005-08-02 17:37:55 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2005-08-02 17:37:55 +0000
commita49971069e1c25950cfb1fe641de62ed276b18ee (patch)
treef524a982a7d6bf8b830e52e2388f0d6b074ce853 /x11/nvidia-driver
parent51362dc438a20ff134505b83ad2acec7570b3410 (diff)
downloadports-a49971069e1c25950cfb1fe641de62ed276b18ee.tar.gz
ports-a49971069e1c25950cfb1fe641de62ed276b18ee.zip
Notes
Diffstat (limited to 'x11/nvidia-driver')
-rw-r--r--x11/nvidia-driver/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/x11/nvidia-driver/Makefile b/x11/nvidia-driver/Makefile
index 2051b5dd480e..65468ba286c6 100644
--- a/x11/nvidia-driver/Makefile
+++ b/x11/nvidia-driver/Makefile
@@ -121,6 +121,9 @@ post-patch: .SILENT
.if ${NVVERSION} >= 7174
${REINPLACE_CMD} '24,26d' ${WRKSRC}/src/nv-freebsd.h
.endif
+.if ${OSVERSION} > 600028
+ ${REINPLACE_CMD} '/bus_memio\.h/d' ${WRKSRC}/src/nv-freebsd.h
+.endif
.if defined(WITH_FREEBSD_AGP)
${REINPLACE_CMD} 's/undef NV_SUPPORT_OS_AGP/define NV_SUPPORT_OS_AGP/' \
${WRKSRC}/src/nv-freebsd.h