[Bug 204402] emulators/virtualbox-ose: build failed on CURRENT
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Dec 7 17:24:35 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204402
Don Lewis <truckman at FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |truckman at FreeBSD.org
--- Comment #4 from Don Lewis <truckman at FreeBSD.org> ---
Created attachment 163945
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=163945&action=edit
patch to unbreak build on -CURRENT WITH_OPENSSL_PORT
This is a somewhat crude patch to unbreak the virtualbox-ose build on FreeBSD
11.0-CURRENT with WITH_OPENSSL_PORT in /etc/make.conf.
Adding -L${OPENSSLDIR}/lib to LIBCRYPTO in configure does not work because
strip_l removes it. If the call to strip_l is removed, then the build fails
with:
kmk: *** No rule to make target `-L/usr/local/lib', needed by
`/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.34/out/freebsd.amd64/release/obj/VBoxRT/VBoxRT.so'.
Stop.
Instead, set VBoxRT_LDFLAGS.freebsd to;
-L${OPENSSLDIR}/lib -Wl,-rpath,${OPENSSLDIR}/lib
so that these flags are used when linking VBoxRT.so and it gets linked to the
openssl libraries from the port.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-emulation
mailing list