Chase the recent moving of linux_ioctl.h.

This commit is contained in:
Akinori MUSHA 2000-08-23 19:13:51 +00:00
parent 8d8b937e7a
commit be957101cb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=31908
2 changed files with 16 additions and 0 deletions

View File

@ -52,6 +52,10 @@ BROKEN= "Systems prior to 400013 is out of support"
BROKEN= "This software absolutely requires Linux procfs support" BROKEN= "This software absolutely requires Linux procfs support"
.endif .endif
.if !exists(/sys/Makefile)
BROKEN= "Kernel source files required"
.endif
.if exists(${WRKDIRPREFIX}${.CURDIR}/work/Makefile.inc.net) .if exists(${WRKDIRPREFIX}${.CURDIR}/work/Makefile.inc.net)
.include "${WRKDIRPREFIX}${.CURDIR}/work/Makefile.inc.net" .include "${WRKDIRPREFIX}${.CURDIR}/work/Makefile.inc.net"
.endif .endif
@ -65,6 +69,10 @@ post-patch:
${CP} ${FILESDIR}/Makefile ${WRKSRC} ${CP} ${FILESDIR}/Makefile ${WRKSRC}
${CP} ${FILESDIR}/Makefile.vmmon ${WRKSRC}/vmmon-only/Makefile ${CP} ${FILESDIR}/Makefile.vmmon ${WRKSRC}/vmmon-only/Makefile
${RM} -rf ${WRKSRC}/vmmon-only/linux/ ${RM} -rf ${WRKSRC}/vmmon-only/linux/
.if exists?(/sys/compat/linux/linux_ioctl.h)
${PERL} -i -pe 's,i386(/linux/linux_ioctl\.h),compat$$1,' \
${WRKSRC}/vmnet-only/freebsd/vmnet_linux.c
.endif
setoptions: setoptions:
${SED} -e 's;@@PREFIX@@;${PREFIX};' \ ${SED} -e 's;@@PREFIX@@;${PREFIX};' \

View File

@ -52,6 +52,10 @@ BROKEN= "Systems prior to 400013 is out of support"
BROKEN= "This software absolutely requires Linux procfs support" BROKEN= "This software absolutely requires Linux procfs support"
.endif .endif
.if !exists(/sys/Makefile)
BROKEN= "Kernel source files required"
.endif
.if exists(${WRKDIRPREFIX}${.CURDIR}/work/Makefile.inc.net) .if exists(${WRKDIRPREFIX}${.CURDIR}/work/Makefile.inc.net)
.include "${WRKDIRPREFIX}${.CURDIR}/work/Makefile.inc.net" .include "${WRKDIRPREFIX}${.CURDIR}/work/Makefile.inc.net"
.endif .endif
@ -65,6 +69,10 @@ post-patch:
${CP} ${FILESDIR}/Makefile ${WRKSRC} ${CP} ${FILESDIR}/Makefile ${WRKSRC}
${CP} ${FILESDIR}/Makefile.vmmon ${WRKSRC}/vmmon-only/Makefile ${CP} ${FILESDIR}/Makefile.vmmon ${WRKSRC}/vmmon-only/Makefile
${RM} -rf ${WRKSRC}/vmmon-only/linux/ ${RM} -rf ${WRKSRC}/vmmon-only/linux/
.if exists?(/sys/compat/linux/linux_ioctl.h)
${PERL} -i -pe 's,i386(/linux/linux_ioctl\.h),compat$$1,' \
${WRKSRC}/vmnet-only/freebsd/vmnet_linux.c
.endif
setoptions: setoptions:
${SED} -e 's;@@PREFIX@@;${PREFIX};' \ ${SED} -e 's;@@PREFIX@@;${PREFIX};' \