mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-13 07:34:50 +00:00
Fix the build on recent -CURRENT.
Reported by: piso
This commit is contained in:
parent
1376a3b978
commit
88c8b624ed
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=185980
@ -94,6 +94,9 @@ post-patch: .SILENT
|
||||
.if ${OSVERSION} > 600028
|
||||
${REINPLACE_CMD} '/bus_memio\.h/d' ${WRKSRC}/src/nv-freebsd.h
|
||||
.endif
|
||||
.if ${OSVERSION} > 700030
|
||||
${REINPLACE_CMD} -e 's/nvidia_intr/NULL, &/' ${WRKSRC}/src/nvidia_pci.c
|
||||
.endif
|
||||
.if defined(WITH_FREEBSD_AGP)
|
||||
${REINPLACE_CMD} -E 's/undef (NV_SUPPORT_OS_AGP)/define \1/' \
|
||||
${WRKSRC}/src/nv-freebsd.h
|
||||
|
Loading…
Reference in New Issue
Block a user