Ticket #30992: patch-Portfile.2.diff
File patch-Portfile.2.diff, 1.4 KB (added by carsomyr@…, 13 years ago) |
---|
-
Portfile
old new 55 55 56 56 configure.pre_args-delete --prefix=${prefix} 57 57 58 configure.args --disable-hardening \ 59 --with-qt-dir=${prefix} \ 58 configure.args --with-qt-dir=${prefix} \ 60 59 --with-openssl-dir=${prefix} 61 60 62 61 # VirtualBox uses kBuild. … … 70 69 71 70 post-patch { 72 71 72 reinplace "s|@APPLICATIONS_DIR@|${applications_dir}|g" \ 73 ${worksrcpath}/LocalConfig.kmk 73 74 reinplace "s|@CONFIGURE\\.CC@|${configure.cc}|g" \ 74 75 ${worksrcpath}/configure 75 76 reinplace "s|@CONFIGURE\\.CXX@|${configure.cxx}|g" \ … … 102 103 103 104 # Create proxies for binaries bundled with VirtualBox.app. 104 105 105 foreach app_proxy [list VirtualBox VBox Manage VBoxHeadless] {106 foreach app_proxy [list VirtualBox VBoxBalloonCtrl VBoxManage VBoxHeadless] { 106 107 107 108 set app_proxy_file [open ${destroot}${prefix}/bin/${app_proxy} w] 108 109 … … 113 114 114 115 file attributes ${destroot}${prefix}/bin/${app_proxy} -permissions "+x" 115 116 } 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 } 116 121 } 117 122 118 123 variant vde2 description {Enable support for VDE} {