Revision: 86840 http://trac.macports.org/changeset/86840 Author: royliu@macports.org Date: 2011-11-05 08:12:42 -0700 (Sat, 05 Nov 2011) Log Message: ----------- virtualbox: upgrade to 4.1.6 Modified Paths: -------------- trunk/dports/emulators/virtualbox/Portfile trunk/dports/emulators/virtualbox/files/patch-build.diff Removed Paths: ------------- trunk/dports/emulators/virtualbox/files/patch-fileaio-posix.cpp.diff Modified: trunk/dports/emulators/virtualbox/Portfile =================================================================== --- trunk/dports/emulators/virtualbox/Portfile 2011-11-05 14:38:34 UTC (rev 86839) +++ trunk/dports/emulators/virtualbox/Portfile 2011-11-05 15:12:42 UTC (rev 86840) @@ -5,8 +5,7 @@ PortGroup qt4 1.0 name virtualbox -version 4.1.4 -revision 2 +version 4.1.6 categories emulators maintainers nomaintainer description open source virtualization technology from Oracle @@ -39,9 +38,9 @@ distname VirtualBox-${version} use_bzip2 yes -checksums md5 dc6e6801b3823332b6ca2e9915221aae \ - sha1 6ec0dd31844da91c9773611a6fb553eef575e899 \ - rmd160 475a68dc6beebdb588688743b3652bbb9ab3f507 +checksums md5 03cd0875729558a46f910483e1984316 \ + sha1 da6285b08c7595d48abb8deff7d682cfa3b289af \ + rmd160 45822bc1dfaca076734e9cce5d7194ea60a13372 depends_lib-append port:libidl \ port:curl \ @@ -52,14 +51,17 @@ patchfiles patch-build.diff \ patch-sdk.diff \ - patch-startup.diff \ - patch-fileaio-posix.cpp.diff + patch-startup.diff configure.pre_args-delete --prefix=${prefix} configure.args --with-qt-dir=${prefix} \ --with-openssl-dir=${prefix} +if {${macosx_deployment_target} == "10.7"} { + configure.args-append --disable-opengl +} + # VirtualBox uses kBuild. build.cmd ". env.sh && kmk" @@ -73,6 +75,8 @@ reinplace "s|@APPLICATIONS_DIR@|${applications_dir}|g" \ ${worksrcpath}/LocalConfig.kmk + reinplace "s|@MACOSX_DEPLOYMENT_TARGET@|${macosx_deployment_target}|g" \ + ${worksrcpath}/LocalConfig.kmk reinplace "s|@CONFIGURE\\.CC@|${configure.cc}|g" \ ${worksrcpath}/configure reinplace "s|@CONFIGURE\\.CXX@|${configure.cxx}|g" \ Modified: trunk/dports/emulators/virtualbox/files/patch-build.diff =================================================================== --- trunk/dports/emulators/virtualbox/files/patch-build.diff 2011-11-05 14:38:34 UTC (rev 86839) +++ trunk/dports/emulators/virtualbox/files/patch-build.diff 2011-11-05 15:12:42 UTC (rev 86840) @@ -126,7 +126,7 @@ --- /dev/null 2011-08-15 19:38:06.000000000 -0500 +++ LocalConfig.kmk 2011-08-15 19:38:17.000000000 -0500 @@ -0,0 +1,11 @@ -+VBOX_DEF_MACOSX_VERSION_MIN = 10.6 ++VBOX_DEF_MACOSX_VERSION_MIN = @MACOSX_DEPLOYMENT_TARGET@ +VBOX_DARWIN_NO_COMPACT_LINKEDIT = +VBOX_MACOS_10_5_WORKAROUND = +VBOX_PATH_APP_DOCS="@APPLICATIONS_DIR@/VirtualBox.app/Contents/MacOS" Deleted: trunk/dports/emulators/virtualbox/files/patch-fileaio-posix.cpp.diff =================================================================== --- trunk/dports/emulators/virtualbox/files/patch-fileaio-posix.cpp.diff 2011-11-05 14:38:34 UTC (rev 86839) +++ trunk/dports/emulators/virtualbox/files/patch-fileaio-posix.cpp.diff 2011-11-05 15:12:42 UTC (rev 86840) @@ -1,20 +0,0 @@ ---- src/VBox/Runtime/r3/posix/fileaio-posix.cpp.orig 2011-10-27 02:10:41.000000000 -0400 -+++ src/VBox/Runtime/r3/posix/fileaio-posix.cpp 2011-10-27 02:10:41.000000000 -0400 -@@ -307,7 +307,7 @@ - &cReqsOutstandingMax, /* Where to store the old value. */ - &cbParameter, /* Size of the memory pointed to. */ - NULL, /* Where the new value is located. */ -- NULL); /* Where the size of the new value is stored. */ -+ 0); /* Where the size of the new value is stored. */ - if (rcBSD == -1) - return RTErrConvertFromErrno(errno); - -@@ -326,7 +326,7 @@ - &cReqsOutstandingMax, /* Where to store the old value. */ - &cbParameter, /* Size of the memory pointed to. */ - NULL, /* Where the new value is located. */ -- NULL); /* Where the size of the new value is stored. */ -+ 0); /* Where the size of the new value is stored. */ - if (rcBSD == -1) - { - /* ENOENT means the value is unknown thus the module is not loaded. */