diff options
author | knu <knu@FreeBSD.org> | 2000-09-23 00:55:01 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2000-09-23 00:55:01 +0800 |
commit | ff76403fa111cf732ec70fb1b46abe27630704ff (patch) | |
tree | dc02eedd28e386e267ea0ed113a60238b198d625 /emulators | |
parent | 3b611480fb8fabd946b2e499b5654d481962ae2f (diff) | |
download | freebsd-ports-gnome-ff76403fa111cf732ec70fb1b46abe27630704ff.tar.gz freebsd-ports-gnome-ff76403fa111cf732ec70fb1b46abe27630704ff.tar.zst freebsd-ports-gnome-ff76403fa111cf732ec70fb1b46abe27630704ff.zip |
Fix for the latest -current. (another tiny ad hoc fix here..)
Noted by: kuriyama
Use LINUXBASE and USE_LINUX.
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/vmware2/Makefile | 15 | ||||
-rw-r--r-- | emulators/vmware2/files/patch-bd | 6 | ||||
-rw-r--r-- | emulators/vmware3/Makefile | 15 | ||||
-rw-r--r-- | emulators/vmware3/files/patch-bd | 6 |
4 files changed, 22 insertions, 20 deletions
diff --git a/emulators/vmware2/Makefile b/emulators/vmware2/Makefile index 212e1906b76a..84bbe96a9771 100644 --- a/emulators/vmware2/Makefile +++ b/emulators/vmware2/Makefile @@ -8,7 +8,7 @@ PORTNAME= vmware2 PORTVERSION= 2.0.2.621 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= emulators linux MASTER_SITES= http://www4.vmware.com/software/ \ http://vmware-svca.www.conxion.com/software/ \ @@ -29,12 +29,11 @@ PATCHFILES= vmmon-freebsd-0.98.tar.gz \ # freebsd-emulation mailing list with the following maintainer address CC'ed. MAINTAINER= vns@delta.odessa.ua -RUN_DEPENDS= ${LINUX_DIR}/lib/libc.so.6:${PORTSDIR}/emulators/linux_base \ - ${LINUX_DIR}/dev/rtc:${PORTSDIR}/emulators/rtc +RUN_DEPENDS= ${LINUXBASE}/dev/rtc:${PORTSDIR}/emulators/rtc RESTRICTED= "Not sure if we can redistribute it" -LINUX_DIR= /compat/linux +USE_LINUX= yes VMDIR= ${PREFIX}/lib/vmware ONLY_FOR_ARCHS= i386 @@ -61,7 +60,7 @@ BROKEN= "Kernel source files required" .include "${WRKDIRPREFIX}${.CURDIR}/work/Makefile.inc.net" .endif -SCRIPTS_ENV+= LINUX_DIR="${LINUX_DIR}" \ +SCRIPTS_ENV+= LINUX_DIR="${LINUXBASE}" \ VMNET_HOST_IP="${VMNET_HOST_IP}" \ VMNET_NETMASK="${VMNET_NETMASK}" MAKE_ARGS= KMODDIR="${VMDIR}/lib/modules" @@ -82,14 +81,14 @@ setoptions: ${FILESDIR}/config > ${WRKDIR}/config ${SED} -e 's;@@PREFIX@@;${PREFIX};' \ - -e 's;@@LINUX_DIR@@;${LINUX_DIR};' \ + -e 's;@@LINUX_DIR@@;${LINUXBASE};' \ -e 's;@@NETWORKING@@;${VMNET_NETWORKING};' \ -e 's;@@HOST_IP@@;${VMNET_HOST_IP};' \ -e 's;@@NETMASK@@;${VMNET_NETMASK};' \ ${FILESDIR}/vmware.sh > ${WRKDIR}/vmware.sh ${SED} -e 's;@@PREFIX@@;${PREFIX};' \ - -e 's;@@LINUX_DIR@@;${LINUX_DIR};' \ + -e 's;@@LINUX_DIR@@;${LINUXBASE};' \ ${FILESDIR}/vmware > ${WRKDIR}/vmware pre-install: setoptions @@ -103,7 +102,7 @@ pre-install: setoptions ${MKDIR} ${VMDIR}/bin ${INSTALL_SCRIPT} ${FILESDIR}/df ${VMDIR}/bin - [ -f ${LINUX_DIR}/bin/df ] || ${LN} -s ${VMDIR}/bin/df ${LINUX_DIR}/bin/ + [ -f ${LINUXBASE}/bin/df ] || ${LN} -s ${VMDIR}/bin/df ${LINUXBASE}/bin/ ${INSTALL_SCRIPT} ${WRKSRC}/bin/*.pl ${VMDIR}/bin for i in \ vmnet-bridge vmnet-dhcpd vmnet-sniffer \ diff --git a/emulators/vmware2/files/patch-bd b/emulators/vmware2/files/patch-bd index e88a69bf5af5..ff0ea92d6a36 100644 --- a/emulators/vmware2/files/patch-bd +++ b/emulators/vmware2/files/patch-bd @@ -1,6 +1,6 @@ --- vmmon-only/freebsd/driver.c.orig Thu Jun 29 21:06:18 2000 -+++ vmmon-only/freebsd/driver.c Thu Sep 14 14:03:42 2000 -@@ -73,6 +73,22 @@ ++++ vmmon-only/freebsd/driver.c Sat Sep 23 01:41:34 2000 +@@ -73,6 +73,24 @@ #include "private.h" #endif @@ -18,6 +18,8 @@ + INTR_EXCL = 256, /* exclusive interrupt */ + INTR_MPSAFE = 512 /* this interrupt is SMP safe */ +}; ++ ++typedef void driver_intr_t(void*); +#endif + #ifdef SUPPORT_PASSTHROUGH diff --git a/emulators/vmware3/Makefile b/emulators/vmware3/Makefile index 212e1906b76a..84bbe96a9771 100644 --- a/emulators/vmware3/Makefile +++ b/emulators/vmware3/Makefile @@ -8,7 +8,7 @@ PORTNAME= vmware2 PORTVERSION= 2.0.2.621 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= emulators linux MASTER_SITES= http://www4.vmware.com/software/ \ http://vmware-svca.www.conxion.com/software/ \ @@ -29,12 +29,11 @@ PATCHFILES= vmmon-freebsd-0.98.tar.gz \ # freebsd-emulation mailing list with the following maintainer address CC'ed. MAINTAINER= vns@delta.odessa.ua -RUN_DEPENDS= ${LINUX_DIR}/lib/libc.so.6:${PORTSDIR}/emulators/linux_base \ - ${LINUX_DIR}/dev/rtc:${PORTSDIR}/emulators/rtc +RUN_DEPENDS= ${LINUXBASE}/dev/rtc:${PORTSDIR}/emulators/rtc RESTRICTED= "Not sure if we can redistribute it" -LINUX_DIR= /compat/linux +USE_LINUX= yes VMDIR= ${PREFIX}/lib/vmware ONLY_FOR_ARCHS= i386 @@ -61,7 +60,7 @@ BROKEN= "Kernel source files required" .include "${WRKDIRPREFIX}${.CURDIR}/work/Makefile.inc.net" .endif -SCRIPTS_ENV+= LINUX_DIR="${LINUX_DIR}" \ +SCRIPTS_ENV+= LINUX_DIR="${LINUXBASE}" \ VMNET_HOST_IP="${VMNET_HOST_IP}" \ VMNET_NETMASK="${VMNET_NETMASK}" MAKE_ARGS= KMODDIR="${VMDIR}/lib/modules" @@ -82,14 +81,14 @@ setoptions: ${FILESDIR}/config > ${WRKDIR}/config ${SED} -e 's;@@PREFIX@@;${PREFIX};' \ - -e 's;@@LINUX_DIR@@;${LINUX_DIR};' \ + -e 's;@@LINUX_DIR@@;${LINUXBASE};' \ -e 's;@@NETWORKING@@;${VMNET_NETWORKING};' \ -e 's;@@HOST_IP@@;${VMNET_HOST_IP};' \ -e 's;@@NETMASK@@;${VMNET_NETMASK};' \ ${FILESDIR}/vmware.sh > ${WRKDIR}/vmware.sh ${SED} -e 's;@@PREFIX@@;${PREFIX};' \ - -e 's;@@LINUX_DIR@@;${LINUX_DIR};' \ + -e 's;@@LINUX_DIR@@;${LINUXBASE};' \ ${FILESDIR}/vmware > ${WRKDIR}/vmware pre-install: setoptions @@ -103,7 +102,7 @@ pre-install: setoptions ${MKDIR} ${VMDIR}/bin ${INSTALL_SCRIPT} ${FILESDIR}/df ${VMDIR}/bin - [ -f ${LINUX_DIR}/bin/df ] || ${LN} -s ${VMDIR}/bin/df ${LINUX_DIR}/bin/ + [ -f ${LINUXBASE}/bin/df ] || ${LN} -s ${VMDIR}/bin/df ${LINUXBASE}/bin/ ${INSTALL_SCRIPT} ${WRKSRC}/bin/*.pl ${VMDIR}/bin for i in \ vmnet-bridge vmnet-dhcpd vmnet-sniffer \ diff --git a/emulators/vmware3/files/patch-bd b/emulators/vmware3/files/patch-bd index e88a69bf5af5..ff0ea92d6a36 100644 --- a/emulators/vmware3/files/patch-bd +++ b/emulators/vmware3/files/patch-bd @@ -1,6 +1,6 @@ --- vmmon-only/freebsd/driver.c.orig Thu Jun 29 21:06:18 2000 -+++ vmmon-only/freebsd/driver.c Thu Sep 14 14:03:42 2000 -@@ -73,6 +73,22 @@ ++++ vmmon-only/freebsd/driver.c Sat Sep 23 01:41:34 2000 +@@ -73,6 +73,24 @@ #include "private.h" #endif @@ -18,6 +18,8 @@ + INTR_EXCL = 256, /* exclusive interrupt */ + INTR_MPSAFE = 512 /* this interrupt is SMP safe */ +}; ++ ++typedef void driver_intr_t(void*); +#endif + #ifdef SUPPORT_PASSTHROUGH |