Changeset 126232


Ignore:
Timestamp:
Oct 5, 2014, 8:51:44 PM (5 years ago)
Author:
michaelld@…
Message:

fltk-devel: use the correct CC in the post-patch command to make sure we're "using the right compiler". While this port will in general work correctly without this addition, doing this allows the port to not error out on dev's systems set up to check whether the right compiler is being used.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/aqua/fltk-devel/Portfile

    r126181 r126232  
    5656    # before configure will execute properly.  This command actually
    5757    # runs configure through once, to create the file; we then call
    58     # configure manually with the correct argument, which overwrites
    59     # this (and other) files to be what we want.
     58    # configure manually with the correct arguments, which overwrites
     59    # this (and other) files to be what we want.  Make sure CC is set
     60    # correctly per "using the right compiler".  While this port will
     61    # work correctly without this addition, doing this allows the port
     62    # to not error out on dev's systems set up to check whether the
     63    # right compiler is being used.
    6064
    61     system -W ${worksrcpath} "make config.sub"
     65    system -W ${worksrcpath} "CC=${configure.cc} make config.sub"
    6266}
    6367
Note: See TracChangeset for help on using the changeset viewer.