Failure to build (ports) vmware2 in 4-9-PRERELEASE
Max Khon
fjoe at iclub.nsu.ru
Mon Sep 29 13:20:54 PDT 2003
Hello!
On Tue, Sep 30, 2003 at 02:58:05AM +0700, Max Khon 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.
Oops, parenthesis confuse arithmetic expression parser in
4.8-RELEASE and earlier. Corrected patch (without parenthesis) is attached.
/fjoe
-------------- next part --------------
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 20:08:48 -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
More information about the freebsd-emulation
mailing list