Building on Freebsd-10.0
Karol Barski
karol at barski.eu
Tue Oct 29 23:42:38 UTC 2013
Hi,
I've tried to build emulators/virtualbox-ose-additions port on
FreeBSD-10.0-BETA2 with no success.
After while of searching I found out that problem is that virtualbox links
to libsupc++ and in FreeBSD default std C++ library used in libcxxrt.
In attachement You can find corrected Makefile which solved situation for
me.
Basically in post-patch target in makefile I'm replacing of supc++ to cxxrt
for makefiles in worktree which linked it when OSVERSION is greater than
10000000.
I have tested this only on FreeBSD-10.0-BETA1 and FreeBSD-10.0-BETA2.
---------------------------------------------------------------
.if ${OSVERSION} > 1000000
@${REINPLACE_CMD} -e 's|supc\+\+|cxxrt|' ${WRKSRC}/Config.kmk \
${WRKSRC}/src/VBox/Additions/x11/VBoxClient/Makefile.kmk
.endif
----------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile
Type: application/octet-stream
Size: 5921 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-emulation/attachments/20131030/131d0518/attachment.obj>
More information about the freebsd-emulation
mailing list