| 22 | |
| 23 | **Update** |
| 24 | I added the following at the end of {{{macports.conf}}} file: |
| 25 | {{{ |
| 26 | # Compilers that Macports will try to use to build ports from source |
| 27 | default_compilers clang macports-clang-13 macports-gcc-11 macports-clang-11 |
| 28 | }}} |
| 29 | It reflects what I have already installed. Concern: |
| 30 | {{{ |
| 31 | $ port deps opencv3 +openmp |
| 32 | Full Name: opencv3 @3.4.16_1+openmp |
| 33 | Build Dependencies: cmake, pkgconfig |
| 34 | Library Dependencies: ffmpeg, zlib, bzip2, libpng, libjpeg-turbo, openjpeg, tiff, webp, ilmbase, openexr |
| 35 | $ |
| 36 | }}} |
| 37 | does not show Build dependency on clang at all - it seems to want macports-clang-12 exactly, and doesn't care what default I set? Note: when I add {{{macports-clang-12}}} to that line, the output of {{{port deps}}} does not change (clang does not appear there). |
| 38 | |
| 39 | Commenting the {{{default_compilers}}} line out restores correct reporting: |
| 40 | {{{ |
| 41 | $ port deps opencv3 +openmp |
| 42 | Full Name: opencv3 @3.4.16_1+openmp |
| 43 | Build Dependencies: cmake, pkgconfig, clang-12 |
| 44 | Library Dependencies: ffmpeg, zlib, bzip2, libpng, libjpeg-turbo, openjpeg, tiff, webp, ilmbase, openexr, |
| 45 | libomp |
| 46 | $ |
| 47 | }}} |