diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2000-08-23 19:13:51 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2000-08-23 19:13:51 +0000 |
commit | be957101cbd7686bc74d928cf4eeb569c4d03e3b (patch) | |
tree | c4bdd246da3955984de12392f1fc593df1eb4938 /emulators/vmware2/Makefile | |
parent | Update to 1.1.25. (diff) |
Chase the recent moving of linux_ioctl.h.
Diffstat (limited to 'emulators/vmware2/Makefile')
-rw-r--r-- | emulators/vmware2/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/emulators/vmware2/Makefile b/emulators/vmware2/Makefile index 6483121387f4..e94f0f73e045 100644 --- a/emulators/vmware2/Makefile +++ b/emulators/vmware2/Makefile @@ -52,6 +52,10 @@ BROKEN= "Systems prior to 400013 is out of support" BROKEN= "This software absolutely requires Linux procfs support" .endif +.if !exists(/sys/Makefile) +BROKEN= "Kernel source files required" +.endif + .if exists(${WRKDIRPREFIX}${.CURDIR}/work/Makefile.inc.net) .include "${WRKDIRPREFIX}${.CURDIR}/work/Makefile.inc.net" .endif @@ -65,6 +69,10 @@ post-patch: ${CP} ${FILESDIR}/Makefile ${WRKSRC} ${CP} ${FILESDIR}/Makefile.vmmon ${WRKSRC}/vmmon-only/Makefile ${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: ${SED} -e 's;@@PREFIX@@;${PREFIX};' \ |