Ignore:
Timestamp:
Jan 19, 2012, 5:31:37 AM (8 years ago)
Author:
royliu@…
Message:

virtualbox: fix build for Xcode 3.2.6 and close ticket #32711

Location:
trunk/dports/emulators/virtualbox
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/emulators/virtualbox/Portfile

    r88124 r89084  
    6060
    6161    depends_build-append    port:apple-gcc42
     62    patchfiles-append       patch-apple-gcc42.diff
    6263    configure.compiler      apple-gcc-4.2
    6364    # Set this explicitly because non-trunk versions of MacPorts don't.
  • trunk/dports/emulators/virtualbox/files/patch-build.diff

    r88133 r89084  
    1010 
    1111 # Keep in sync with G_virtualBoxPackage in glue-jaxws.xsl and glue-java.xsl
    12 @@ -1781,7 +1781,7 @@
    13     if "$(VBOX_XCODE_VERSION_MAJOR)" == "4"
    14      VBOX_DEF_MACOSX_VERSION_MIN ?= 10.6
    15      VBOX_DARWIN_NO_COMPACT_LINKEDIT ?=
    16 -    VBOX_MACOSX_GCC_INFIX ?= -4.2
    17 +    VBOX_MACOSX_GCC_INFIX ?= -apple-4.2
    18     else
    19      VBOX_DEF_MACOSX_VERSION_MIN ?= 10.5
    20      VBOX_DARWIN_NO_COMPACT_LINKEDIT ?= $(VBOX_LD_no_compact_linkedit)
    21 @@ -1800,7 +1802,7 @@
    22     $(error 64-bit darwin builds require Xcode 3.2 or later, you have $(VBOX_XCODE_VERSION))
    23    endif
    24    VBOX_DEF_MACOSX_VERSION_MIN ?= 10.6
    25 -  VBOX_MACOSX_GCC_INFIX ?= -4.2
    26 +  VBOX_MACOSX_GCC_INFIX ?= -apple-4.2
    27    VBOX_DARWIN_NO_COMPACT_LINKEDIT ?=
    28   endif
    29   TOOL_GCC4MACHO_CC  = gcc$(VBOX_MACOSX_GCC_INFIX)$(HOSTSUFF_EXE)
    3012@@ -2063,22 +2063,22 @@
    3113 VBOX_GCC32_CHECK_CXX = $(2)
Note: See TracChangeset for help on using the changeset viewer.