From 7c0370e8fbbd6464a4e3c32edcda171f9a1753fb Mon Sep 17 00:00:00 2001 From: Alexander Langer Date: Wed, 12 Feb 2003 19:15:54 +0000 Subject: 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. --- emulators/vmware3/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'emulators/vmware3') 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 -- cgit