diff options
author | knu <knu@FreeBSD.org> | 2000-08-24 03:13:51 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2000-08-24 03:13:51 +0800 |
commit | d740f1377cf10b4fe7f2eebee38b140d81de1c40 (patch) | |
tree | 06dfda251ecb20758947775d213ef9a5a69888d6 /emulators/vmware2 | |
parent | 7e98ba861f9ba5a1f8552869e44772173aac3a77 (diff) | |
download | freebsd-ports-gnome-d740f1377cf10b4fe7f2eebee38b140d81de1c40.tar.gz freebsd-ports-gnome-d740f1377cf10b4fe7f2eebee38b140d81de1c40.tar.zst freebsd-ports-gnome-d740f1377cf10b4fe7f2eebee38b140d81de1c40.zip |
Chase the recent moving of linux_ioctl.h.
Diffstat (limited to 'emulators/vmware2')
-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};' \ |