Changeset 140806


Ignore:
Timestamp:
Oct 3, 2015, 4:06:47 PM (2 years ago)
Author:
mcalhoun@…
Message:

mono: ensure we are UsingTheRightCompiler (patchfiles mistakenly left out until r140812)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/devel/mono/Portfile

    r140805 r140806  
    66name                mono
    77version             3.12.1
     8revision            1
    89categories          devel lang mono
    910platforms           darwin
     
    3435                    port:xorg-libX11
    3536
     37# Save value of ${configure.cc} for use in patching files
     38set configure_cc ${configure.cc}
    3639# Do NOT pick up external boehmgc (prefixing CPPFLAGS or CFLAGS does not suffice -- ugly++)
    3740configure.cc-append "-I${worksrcpath}/libgc/include"
     
    5760}
    5861
     62# Ensure we are UsingTheRightCompiler (https://trac.macports.org/wiki/UsingTheRightCompiler)
     63patchfiles-append   patch-aot-compiler.c.diff \
     64                    patch-Makefile.in.diff
     65
    5966post-patch {
    6067    if {${os.major} < 9} {
     
    7178            ${worksrcpath}/mono/utils/mach-support-x86.c
    7279    }
     80
     81    # Ensure we are UsingTheRightCompiler (https://trac.macports.org/wiki/UsingTheRightCompiler)
     82    reinplace "s:__MACPORTS_CC__:${configure_cc}:g" \
     83        ${worksrcpath}/mono/mini/aot-compiler.c
    7384}
    7485
Note: See TracChangeset for help on using the changeset viewer.