From 89b967dd744d5ecf27e57e0e1098d939e08c1503 Mon Sep 17 00:00:00 2001 From: joe Date: Tue, 22 Feb 2000 20:11:31 +0000 Subject: Some VMware port cleanup: - remove [buggy] dependencies from linuxprocfs port, when this port doesn't exist in a system (it's a common situation, because linuxprocfs port isn't included in the official port tree). - remove Makefiles.inc.xxx at cleanup stage - added message about loading kernel modules - added warning when vmware runned with not super-user id Submitted by: Vladimir N. Silyaev PR: ports/16894 --- emulators/vmware/Makefile | 15 ++++++++++++++- emulators/vmware2/Makefile | 15 ++++++++++++++- emulators/vmware3/Makefile | 15 ++++++++++++++- 3 files changed, 42 insertions(+), 3 deletions(-) diff --git a/emulators/vmware/Makefile b/emulators/vmware/Makefile index be23c9f..a91041c 100644 --- a/emulators/vmware/Makefile +++ b/emulators/vmware/Makefile @@ -117,6 +117,19 @@ pre-install: setoptions .endif post-install: - ${LN} -s ${PREFIX}/etc/vmware /etc/vmware + @${LN} -s ${PREFIX}/etc/vmware /etc/vmware +.if !defined(BATCH) + @${ECHO} "-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-" + @${ECHO} "Before launch vmware, execute the next command" + @${ECHO} ${PREFIX}/etc/rc.d/vmware.sh start + @${ECHO} + @${ECHO} "to load required kernel modules" + @${ECHO} "-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-" +.endif + + +pre-clean: + @${RM} -f ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc.linproc \ + ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc.net .include diff --git a/emulators/vmware2/Makefile b/emulators/vmware2/Makefile index be23c9f..a91041c 100644 --- a/emulators/vmware2/Makefile +++ b/emulators/vmware2/Makefile @@ -117,6 +117,19 @@ pre-install: setoptions .endif post-install: - ${LN} -s ${PREFIX}/etc/vmware /etc/vmware + @${LN} -s ${PREFIX}/etc/vmware /etc/vmware +.if !defined(BATCH) + @${ECHO} "-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-" + @${ECHO} "Before launch vmware, execute the next command" + @${ECHO} ${PREFIX}/etc/rc.d/vmware.sh start + @${ECHO} + @${ECHO} "to load required kernel modules" + @${ECHO} "-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-" +.endif + + +pre-clean: + @${RM} -f ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc.linproc \ + ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc.net .include diff --git a/emulators/vmware3/Makefile b/emulators/vmware3/Makefile index be23c9f..a91041c 100644 --- a/emulators/vmware3/Makefile +++ b/emulators/vmware3/Makefile @@ -117,6 +117,19 @@ pre-install: setoptions .endif post-install: - ${LN} -s ${PREFIX}/etc/vmware /etc/vmware + @${LN} -s ${PREFIX}/etc/vmware /etc/vmware +.if !defined(BATCH) + @${ECHO} "-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-" + @${ECHO} "Before launch vmware, execute the next command" + @${ECHO} ${PREFIX}/etc/rc.d/vmware.sh start + @${ECHO} + @${ECHO} "to load required kernel modules" + @${ECHO} "-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-" +.endif + + +pre-clean: + @${RM} -f ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc.linproc \ + ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc.net .include -- cgit v1.1