| 2 | |
| 3 | -- edit -- although I don't like their solution. I'd try a newer compiler instead: |
| 4 | |
| 5 | and indeed, gcc-7 saves the day: |
| 6 | {{{ |
| 7 | $ port -v installed freeimage |
| 8 | The following ports are currently installed: |
| 9 | freeimage @3.18.0_0 (active) platform='darwin 8' archs='i386' date='2020-06-11T19:23:02-0700' |
| 10 | }}} |
| 11 | |
| 12 | so we will need to blacklist gcc-4.2 and ilk in the portfile (unless someone really cares to figure out how to make this compile with gcc-4.2, which I most certainly do NOT, as life is short and we all have better things to do than that.). |
| 13 | |
| 14 | {{{ |
| 15 | compiler.blacklist-append *gcc-3.* *gcc-4.* |
| 16 | }}} |
| 17 | |
| 18 | and base is broken, so it will automatically call in clang-3.4, which might or might not actually work depending on c++11 .... |
| 19 | |
| 20 | My patch for base is here <https://trac.macports.org/attachment/ticket/59717/patch-portconfigure-properly-support-less-than-snowleopard.diff> which you can use on your own system if you like (I do). |
| 21 | |
| 22 | Or try to get JMR, Marcus, and Ryan to see if they will accept it into base. |