Fix for the latest -current. (sys/lock.h -> sys/mutex.h)

PR:		ports/27666
This commit is contained in:
CHOI Junho 2001-05-31 06:07:31 +00:00
parent caa8a3b243
commit c738796b0a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=43336
2 changed files with 8 additions and 0 deletions

View File

@ -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};' \

View File

@ -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};' \