Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Sep 2003 02:58:05 +0700
From:      Max Khon <fjoe@iclub.nsu.ru>
To:        "Brandon S. Allbery KF8NH" <allbery@ece.cmu.edu>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Failure to build (ports) vmware2 in 4-9-PRERELEASE
Message-ID:  <20030929195805.GA94995@iclub.nsu.ru>
In-Reply-To: <1064823907.9010.1.camel@pyanfar.ece.cmu.edu>
References:  <3F77EAE3.1060506@aeefyu.net> <1064823907.9010.1.camel@pyanfar.ece.cmu.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

--envbJBWh7q8WU6mo
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hello!

On Mon, Sep 29, 2003 at 04:25:07AM -0400, Brandon S. Allbery KF8NH wrote:

> > I got the following errors in re-building emulators/vmware2. (need to 
> > change the netgraph bridging interface)
> > Anyone experiencing the similar symptoms?
> 
> The PAE import broke vmware2; no ETA on a fix that I've heard.  I
> suggest sticking with RELENG_4_8.

Attached patch works for me.
(run "patch <Makefile.diff" in ports/emulators/vmware2).
I would like to commit it after maintainer approval.

/fjoe

--envbJBWh7q8WU6mo
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="Makefile.diff"

Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/emulators/vmware2/Makefile,v
retrieving revision 1.56
diff -u -p -r1.56 Makefile
--- Makefile	24 Sep 2003 00:59:22 -0000	1.56
+++ Makefile	29 Sep 2003 19:45:06 -0000
@@ -98,7 +98,7 @@ post-patch:
 .if ${OSVERSION} >= 500023
 	${CAT} ${FILESDIR}/kse.patch | (cd ${WRKSRC} && patch) > /dev/null 2>&1
 .endif
-.if ${OSVERSION} >= 500027
+.if ${OSVERSION} >= 500027 || (${OSVERSION} < 500000 && ${OSVERSION} >= 480102)
 	${CAT} ${FILESDIR}/pmap.patch | (cd ${WRKSRC} && patch) > /dev/null 2>&1
 .endif
 	${CP} ${FILESDIR}/Makefile ${WRKSRC}
@@ -129,8 +129,10 @@ post-patch:
 .if ${OSVERSION} >= 500104
 	${CAT} ${FILESDIR}/cdevsw.patch | (cd ${WRKSRC} && patch) > /dev/null 2>&1
 .endif
-.if ${OSVERSION} >= 500109
+.if ${OSVERSION} >= 500109 || (${OSVERSION} < 500000 && ${OSVERSION} >= 480102)
 	${CAT} ${FILESDIR}/hostif_c.patch | (cd ${WRKSRC} && patch) > /dev/null 2>&1
+.endif
+.if ${OSVERSION} >= 500109
 	${CAT} ${FILESDIR}/vm_types_h.patch | (cd ${WRKSRC} && patch) > /dev/null 2>&1
 .endif
 	${CAT} ${FILESDIR}/vmnet-only+Makefile.patch | (cd ${WRKSRC} && patch) > /dev/null 2>&1

--envbJBWh7q8WU6mo--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030929195805.GA94995>