summaryrefslogtreecommitdiffstats
path: root/x11/nvidia-driver
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2005-08-02 17:37:55 +0000
committerdanfe <danfe@FreeBSD.org>2005-08-02 17:37:55 +0000
commit3c602405aaa409f9ac1879528834a25ad6504e52 (patch)
tree9e469610421eecc48709cb778bed3114d65f31cb /x11/nvidia-driver
parentc99b8315d2b2399ababe9f0b4d800f0b7a37ec34 (diff)
downloadFreeBSD-ports-3c602405aaa409f9ac1879528834a25ad6504e52.zip
FreeBSD-ports-3c602405aaa409f9ac1879528834a25ad6504e52.tar.gz
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/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 2051b5d..65468ba 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
OpenPOWER on IntegriCloud