[MacPorts] #35808: VirtualBox 4.1.20_0, fail to find libcrypto

MacPorts noreply at macports.org
Sat Aug 25 13:41:51 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         
-------------------------------+--------------------------------------------
Changes (by royliu@…):

  * owner:  macports-tickets@… => royliu@…


Comment:

 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).

-- 
Ticket URL: <https://trac.macports.org/ticket/35808#comment:9>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list