summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjoe <joe@FreeBSD.org>2000-02-22 20:11:31 +0000
committerjoe <joe@FreeBSD.org>2000-02-22 20:11:31 +0000
commit89b967dd744d5ecf27e57e0e1098d939e08c1503 (patch)
tree93d4c9cb99b8ef2ffc331ab94d29f03a532bef3d
parentae1978e219efcf028eb320b0e429a5619dc82f4a (diff)
downloadFreeBSD-ports-89b967dd744d5ecf27e57e0e1098d939e08c1503.zip
FreeBSD-ports-89b967dd744d5ecf27e57e0e1098d939e08c1503.tar.gz
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 <vsilyaev@mindspring.com> PR: ports/16894
-rw-r--r--emulators/vmware/Makefile15
-rw-r--r--emulators/vmware2/Makefile15
-rw-r--r--emulators/vmware3/Makefile15
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 <bsd.port.post.mk>
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 <bsd.port.post.mk>
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 <bsd.port.post.mk>
OpenPOWER on IntegriCloud