Fix for the latest -current. (sys/lock.h -> sys/mutex.h)
PR: ports/27666
This commit is contained in:
parent
caa8a3b243
commit
c738796b0a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=43336
@ -98,6 +98,10 @@ post-patch:
|
||||
${WRKSRC}/vmmon-only/freebsd/*.c
|
||||
.endif
|
||||
cd ${WRKSRC}/vmmon-only/freebsd && ${TOUCH} bus_if.h device_if.h
|
||||
.if ${OSVERSION} >= 500018
|
||||
${PERL} -i -pe 's,<sys/lock\.h>,<sys/mutex.h>,' \
|
||||
${WRKSRC}/vmmon-only/freebsd/*.c
|
||||
.endif
|
||||
|
||||
setoptions:
|
||||
${SED} -e 's;@@PREFIX@@;${PREFIX};' \
|
||||
|
@ -98,6 +98,10 @@ post-patch:
|
||||
${WRKSRC}/vmmon-only/freebsd/*.c
|
||||
.endif
|
||||
cd ${WRKSRC}/vmmon-only/freebsd && ${TOUCH} bus_if.h device_if.h
|
||||
.if ${OSVERSION} >= 500018
|
||||
${PERL} -i -pe 's,<sys/lock\.h>,<sys/mutex.h>,' \
|
||||
${WRKSRC}/vmmon-only/freebsd/*.c
|
||||
.endif
|
||||
|
||||
setoptions:
|
||||
${SED} -e 's;@@PREFIX@@;${PREFIX};' \
|
||||
|
Loading…
Reference in New Issue
Block a user