Chase the recent moving of linux_ioctl.h.
This commit is contained in:
parent
8d8b937e7a
commit
be957101cb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=31908
@ -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};' \
|
||||||
|
@ -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};' \
|
||||||
|
Loading…
Reference in New Issue
Block a user