Date: Mon, 07 Dec 2015 17:24:34 +0000 From: bugzilla-noreply@freebsd.org To: vbox@FreeBSD.org Subject: [Bug 204402] emulators/virtualbox-ose: build failed on CURRENT Message-ID: <bug-204402-26505-kNp05x0AHA@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-204402-26505@https.bugs.freebsd.org/bugzilla/> References: <bug-204402-26505@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204402 Don Lewis <truckman@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |truckman@FreeBSD.org --- Comment #4 from Don Lewis <truckman@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-204402-26505-kNp05x0AHA>