[MacPorts] #35808: VirtualBox 4.1.20_0, fail to find libcrypto
MacPorts
noreply at macports.org
Sun Aug 26 00:02:26 PDT 2012
#35808: VirtualBox 4.1.20_0, fail to find libcrypto
-------------------------------+--------------------------------------------
Reporter: xl64100@… | Owner: royliu@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.2
Keywords: | Port: virtualbox
-------------------------------+--------------------------------------------
Comment(by xl64100@…):
Replying to [comment:9 royliu@…]:
> What I suspect is going on is that you're on Lion (not Mountain Lion),
and my new `macosx_deployment_target` math is causing problems.
> {{{
> @@ -92,9 +93,7 @@ if {${name} == ${subport}} {
>
> reinplace "s|@APPLICATIONS_DIR@|${applications_dir}|g" \
> ${worksrcpath}/LocalConfig.kmk
> - # TODO: The deployment target should be set dynamically, but,
because of incompatibilities
> - # with OpenGL headers in 10.7, it's fixed at 10.6 for now.
> - reinplace "s|@MACOSX_DEPLOYMENT_TARGET@|10.6|g" \
> + reinplace "s|@MACOSX_DEPLOYMENT_TARGET@|10.[expr [lindex [split
${macosx_deployment_target} "."] 1] - 1]|g" \
> ${worksrcpath}/LocalConfig.kmk
> reinplace "s|@KEXT_DIR@|${prefix}${kext_dir}|g" \
>
${worksrcpath}/src/VBox/Installer/darwin/VBoxStartupItems/VirtualBox/VirtualBox
> }}}
>
> My MacPorts is a bit rusty. Is `macosx_deployment_target` derived from
the OS version or the Xcode version? If it's the former, then the Portfile
is trying to using Xcode 10.6, which doesn't exist in the newest version
(only 10.7 and 10.8 supported).
I'm using Lion, indeed. So you may have located the problem.
Do you have a fix ?
XL.
--
Ticket URL: <https://trac.macports.org/ticket/35808#comment:10>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list