[MacPorts] #31734: VirtualBox 4.1.4 doesn't work with Lion and Xcode 4.2
MacPorts
noreply at macports.org
Fri Nov 4 06:40:37 PDT 2011
#31734: VirtualBox 4.1.4 doesn't work with Lion and Xcode 4.2
---------------------------+------------------------------------------------
Reporter: jk@… | Owner: royliu@…
Type: defect | Status: reopened
Priority: Normal | Milestone:
Component: ports | Version: 2.0.3
Resolution: | Keywords:
Port: virtualbox |
---------------------------+------------------------------------------------
Comment(by jk@…):
Building for SDK 10.7 without OpenGL compiles fine. '''VMs work.'''
{{{
--- Portfile.orig 2011-10-25 12:41:35.000000000 +0200
+++ Portfile 2011-11-04 14:35:57.000000000 +0100
@@ -67,6 +67,11 @@
set kext_dir /Library/Extensions
set startup_items_dir /Library/StartupItems
+if {${configure.compiler} == "clang"} {
+ configure.compiler llvm-gcc-4.2
+ configure.args-append --disable-opengl
+}
+
post-patch {
reinplace "s|@APPLICATIONS_DIR@|${applications_dir}|g" \
}}}
{{{
--- files/patch-build.diff.orig 2011-11-04 14:26:06.000000000 +0100
+++ files/patch-build.diff 2011-11-04 14:26:20.000000000 +0100
@@ -65,7 +65,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 = 10.7
+VBOX_DARWIN_NO_COMPACT_LINKEDIT =
+VBOX_MACOS_10_5_WORKAROUND =
+VBOX_PATH_APP_DOCS="@APPLICATIONS_DIR@/VirtualBox.app/Contents/MacOS"
}}}
--
Ticket URL: <https://trac.macports.org/ticket/31734#comment:19>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list