Ticket #31328: Portfile.patch
File Portfile.patch, 1.8 KB (added by ahmed@…, 13 years ago) |
---|
-
Portfile
old new 6 6 7 7 name virtualbox 8 8 version 4.1.2 9 revision 49 revision 6 10 10 categories emulators 11 11 maintainers nomaintainer 12 12 description open source virtualization technology from Oracle … … 51 51 path:lib/pkgconfig/sdl.pc:libsdl 52 52 53 53 patchfiles patch-build.diff \ 54 patch-startup.diff 54 patch-startup.diff \ 55 patch-src-libs-xpcom18a4-Config.kmk.diff \ 56 patch-src-libs-xpcom18a4-python-Makefile.kmk.diff \ 57 patch-src-libs-xpcom18a4-python-gen_python_deps.py.diff 55 58 56 59 configure.pre_args-delete --prefix=${prefix} 57 60 58 61 configure.args --with-qt-dir=${prefix} \ 59 --with-openssl-dir=${prefix} 62 --with-openssl-dir=${prefix} \ 63 --disable-opengl 60 64 61 65 # VirtualBox uses kBuild. 62 66 build.cmd ". env.sh && kmk" … … 104 108 105 109 xinstall -m 755 -d ${destroot}${applications_dir} 106 110 copy ${release_dir}/VirtualBox.app ${destroot}${applications_dir} 111 copy ${release_dir}/sdk ${destroot}${applications_dir}/VirtualBox.app/ 107 112 108 113 # Set the owner and group to root:wheel, which is required for kernel extensions and possibly startup items. 109 114 … … 142 147 configure.args-append --enable-vde 143 148 } 144 149 145 default_variants +vde2 150 variant vnc description {Enable support for VNC} { 151 depends_lib-append port:LibVNCServer 152 configure.args-append --enable-vnc 153 } 154 155 default_variants +vde2 +vnc 146 156 147 157 startupitem.create yes 148 158 startupitem.name VirtualBox