https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204402

Don Lewis <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #4 from Don Lewis <[email protected]> ---
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.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to "[email protected]"

Reply via email to