Ticket #30992: patch-Portfile.2.diff

File patch-Portfile.2.diff, 1.4 KB (added by carsomyr@…, 13 years ago)

The Portfile patch.

  • Portfile

    old new  
    5555
    5656configure.pre_args-delete   --prefix=${prefix}
    5757
    58 configure.args              --disable-hardening \
    59                             --with-qt-dir=${prefix} \
     58configure.args              --with-qt-dir=${prefix} \
    6059                            --with-openssl-dir=${prefix}
    6160
    6261# VirtualBox uses kBuild.
     
    7069
    7170post-patch {
    7271
     72    reinplace "s|@APPLICATIONS_DIR@|${applications_dir}|g" \
     73        ${worksrcpath}/LocalConfig.kmk
    7374    reinplace "s|@CONFIGURE\\.CC@|${configure.cc}|g" \
    7475        ${worksrcpath}/configure
    7576    reinplace "s|@CONFIGURE\\.CXX@|${configure.cxx}|g" \
     
    102103
    103104    # Create proxies for binaries bundled with VirtualBox.app.
    104105
    105     foreach app_proxy [list VirtualBox VBoxManage VBoxHeadless] {
     106    foreach app_proxy [list VirtualBox VBoxBalloonCtrl VBoxManage VBoxHeadless] {
    106107
    107108        set app_proxy_file [open ${destroot}${prefix}/bin/${app_proxy} w]
    108109
     
    113114
    114115        file attributes ${destroot}${prefix}/bin/${app_proxy} -permissions "+x"
    115116    }
     117
     118    foreach executable [list VirtualBox VirtualBoxVM VBoxHeadless VBoxNetAdpCtl VBoxNetDHCP] {
     119        file attributes ${destroot}${applications_dir}/VirtualBox.app/Contents/MacOS/${executable} -permissions "u+s"
     120    }
    116121}
    117122
    118123variant vde2 description {Enable support for VDE} {