summaryrefslogtreecommitdiff
path: root/x11
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
parentUpdate to Vim 6.3 patchlevel 85 (diff)
Unbreak on recent -CURRENT/6.X.
Based on PR: ports/84481 Submitted by: Andrej Zverev <az(at)inec.ru> Approved by: portmgr (marcus)
Diffstat (limited to 'x11')
-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