Ticket #44800: dmd.diff

File dmd.diff, 1.0 KB (added by ryandesign (Ryan Carsten Schmidt), 10 years ago)

proposed patch

  • Portfile

     
    2727
    2828use_configure       no
    2929
     30variant universal {}
     31
    3032build.dir           ${worksrcpath}/src
    3133
    3234# Use CFLAGS in the posix.make; some source needs special flags.
     
    3436# extra flags cannot be added with +=.
    3537# Another solution would be the use of override directive in posix.mak.
    3638build.args          -f posix.mak \
    37                     HOST_CC=${configure.cxx} \
    38                     CC=\"${configure.cxx}\" \
    39                     LDFLAGS=\"${configure.ldflags} -framework CoreServices\" \
    40                     ENVP=\"MACOSX_DEPLOYMENT_TARGET=${macosx_deployment_target}\"
     39                    HOST_CC="${configure.cxx}" \
     40                    LDFLAGS="${configure.ldflags} -framework CoreServices" \
     41                    MODEL_FLAG="[get_canonical_archflags]" \
     42                    ENVP="MACOSX_DEPLOYMENT_TARGET=${macosx_deployment_target}"
    4143
    4244destroot {
    4345# man