summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorAlexander Langer <alex@FreeBSD.org>2003-02-12 19:15:54 +0000
committerAlexander Langer <alex@FreeBSD.org>2003-02-12 19:15:54 +0000
commit7c0370e8fbbd6464a4e3c32edcda171f9a1753fb (patch)
treebf469da47eac993b22f9385d3e7be1e78890bd76 /emulators
parentUpdate to 1.3b. (diff)
Seems like I had another fix in my system. On 5.0, the vmnet1 in
$LINUXBASE/dev had a different device minor than the cloned one in /dev/vmnet1. Thus delete the one in $LINUXBASE and link it to the devfs one to have everything right. This fixes the port on my fresh installed 5.0-RELEASE box.
Notes
Notes: svn path=/head/; revision=75387
Diffstat (limited to 'emulators')
-rw-r--r--emulators/vmware2/Makefile6
-rw-r--r--emulators/vmware3/Makefile6
2 files changed, 10 insertions, 2 deletions
diff --git a/emulators/vmware2/Makefile b/emulators/vmware2/Makefile
index eac87f137c14..00c5b6c80057 100644
--- a/emulators/vmware2/Makefile
+++ b/emulators/vmware2/Makefile
@@ -114,7 +114,7 @@ post-patch:
cat ${FILESDIR}/fo_ioctl.patch | (cd ${WRKSRC} && patch) > /dev/null 2>&1
.endif
.if ${OSVERSION} >= 500100
- cat ${FILESDIR}/filedesc.patch | (cd ${WRKSRC} && patch)
+ cat ${FILESDIR}/filedesc.patch | (cd ${WRKSRC} && patch) > /dev/null 2>&1
cat ${FILESDIR}/m_waitok.patch | (cd ${WRKSRC} && patch) > /dev/null 2>&1
.endif
@@ -174,6 +174,10 @@ pre-install: setoptions
post-install:
${LN} -sf ${PREFIX}/etc/vmware /etc/
+.if ${OSVERSION} >= 500100
+ ${RM} -f ${LINUXBASE}/dev/vmnet1
+ ${LN} -sf /dev/vmnet1 ${LINUXBASE}/dev/vmnet1
+.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>
diff --git a/emulators/vmware3/Makefile b/emulators/vmware3/Makefile
index eac87f137c14..00c5b6c80057 100644
--- a/emulators/vmware3/Makefile
+++ b/emulators/vmware3/Makefile
@@ -114,7 +114,7 @@ post-patch:
cat ${FILESDIR}/fo_ioctl.patch | (cd ${WRKSRC} && patch) > /dev/null 2>&1
.endif
.if ${OSVERSION} >= 500100
- cat ${FILESDIR}/filedesc.patch | (cd ${WRKSRC} && patch)
+ cat ${FILESDIR}/filedesc.patch | (cd ${WRKSRC} && patch) > /dev/null 2>&1
cat ${FILESDIR}/m_waitok.patch | (cd ${WRKSRC} && patch) > /dev/null 2>&1
.endif
@@ -174,6 +174,10 @@ pre-install: setoptions
post-install:
${LN} -sf ${PREFIX}/etc/vmware /etc/
+.if ${OSVERSION} >= 500100
+ ${RM} -f ${LINUXBASE}/dev/vmnet1
+ ${LN} -sf /dev/vmnet1 ${LINUXBASE}/dev/vmnet1
+.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>