Re: Exec format error: vmware2-2.0.476 and -CURRENT

[ Available lists | Index of freebsd-ports | Month of May 2000 | Week of 11 May 2000 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Kentaro Inagaki <inagaki@tg.rim.or.jp>
Date
11 May 2000 07:41:17
Subject
Re: Exec format error: vmware2-2.0.476 and -CURRENT
Message-ID
20000511.234124.78709262.inagaki@tg.rim.or.jp


[ Hide this part ]
Date: Thu, 11 May 2000 08:32:56 -0400
Message-ID: <391AA878.85070EA6@whetstonelogic.com>

> This patch builds it correctly, but you have to:
> rm -rf /usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/linux
>
> The post-extract command ran but didn't delete it for me.

Oh, I did a mistake...

Not in post-extract, it is in post-patch.
Please use the following patches.
----
Kentaro Inagaki

[ Hide this part ]
--- vmware2/Makefile.orig	Thu May 11 23:35:06 2000
+++ vmware2/Makefile Thu May 11 23:08:02 2000
@@ -59,11 +59,10 @@
VMNET_NETMASK="${VMNET_NETMASK}"
MAKE_ARGS= KMODDIR="${VMDIR}/lib/modules"

-post-extract:
- ${RM} -rf ${WRKSRC}/vmmon-only/linux
post-patch:
${CP} ${FILESDIR}/Makefile ${WRKSRC}
${CP} ${FILESDIR}/Makefile.vmmon ${WRKSRC}/vmmon-only/Makefile
+ ${RM} -rf ${WRKSRC}/vmmon-only/linux/

setoptions:
${SED} -e 's;@@PREFIX@@;${PREFIX};' \



Elapsed time: 0.112 seconds