Changes between Initial Version and Version 1 of Ticket #68759, comment 5


Ignore:
Timestamp:
Jan 2, 2025, 1:25:49 AM (17 months ago)
Author:
balanco
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #68759, comment 5

    initial v1  
    1 Rough solution (verified on macOS Monterey and macOS Sequoia)
     1Update 2025-01-02:\\
     2''Original content updated to striked-through text, given the authoritative'' fast ''reactions in the subsequent comments. The original text currently kept for documentation/context only;  please advise whether to just do away with this **‘how-NOT-to’**.\\
     3More importantly: ''many'' thanks to ''ryandesign''! (and due apologies…)''
    24
    3 1. install gcc (tested with gcc13 on Monterey: `install gcc13` and gcc14 on Sequoia: `install gcc14`)
     5~~Rough solution (verified on macOS Monterey and macOS Sequoia)~~
    46
    5 2. select the installed gcc (e.g.: `select gcc mp-gcc13`)
     7~~1. install gcc (tested with gcc13 on Monterey: `install gcc13` and gcc14 on Sequoia: `install gcc14`)~~
    68
    7 3. `edit agrep`
    8      replace the specification of the compiler to use by `gcc`, i.e. replace the line:
    9     `build.args          CC="${configure.cc}" \`
     9~~2. select the installed gcc (e.g.: `select gcc mp-gcc13`)~~
    1010
    11     by:
     11~~3. `edit agrep`  replace the specification of the compiler to use by `gcc`, i.e. replace the line:~~\\
     12    ~~`build.args          CC="${configure.cc}" \`~~\\
     13    ~~by:~~\\
     14    ~~`build.args          CC="gcc" \`~~
    1215
    13     `build.args          CC="gcc" \`
     16    ~~''(you only need to change content of the `"…"`; in any case make sure not to lose the final backslash ('\') on the line, signifying the continuation on the next line…)''
     17    and save the edited file~~
    1418
    15     ''(you only need to change content of the `"…"`; in any case make sure not to lose the final backslash ('\') on the line, signifying the continuation on the next line…)''
    16     and save the edited file
     19~~4. `install agrep`, which should give something like:~~
    1720
    18 4. `install agrep`, which should give something like:
     21> ~~Portfile for agrep changed since last build; discarding previous state~~\\
     22> ~~   --->  Computing dependencies for agrep ~~\\
     23> ~~   --->  Fetching archive for agrep ~~\\
     24> ~~   --->  Attempting to fetch agrep-2.04_1.darwin_21.x86_64.tbz2 from https://packages.macports.org/agrep ~~\\
     25> ~~   --->  Attempting to fetch agrep-2.04_1.darwin_21.x86_64.tbz2 from https://mse.uk.packages.macports.org/agrep ~~\\
     26> ~~   --->  Attempting to fetch agrep-2.04_1.darwin_21.x86_64.tbz2 from https://vie.at.packages.macports.org/agrep ~~\\
     27> ~~   --->  Fetching distfiles for agrep ~~\\
     28> ~~   --->  Verifying checksums for agrep ~~\\
     29> ~~   --->  Extracting agrep ~~\\
     30> ~~   --->  Applying patches to agrep ~~\\
     31> ~~   --->  Configuring agrep ~~\\
     32> ~~   --->  Building agrep ~~\\
     33> ~~   --->  Staging agrep into destroot~~\\
     34> ~~   --->  Installing agrep @2.04_1 ~~\\
     35> ~~   --->  Activating agrep @2.04_1~~\\
     36> ~~--->  Cleaning agrep~~\\
    1937
    20 {{{
    21   Portfile for agrep changed since last build; discarding previous state.
    22    --->  Computing dependencies for agrep
    23    --->  Fetching archive for agrep
    24    --->  Attempting to fetch agrep-2.04_1.darwin_21.x86_64.tbz2 from https://packages.macports.org/agrep
    25    --->  Attempting to fetch agrep-2.04_1.darwin_21.x86_64.tbz2 from https://mse.uk.packages.macports.org/agrep
    26    --->  Attempting to fetch agrep-2.04_1.darwin_21.x86_64.tbz2 from https://vie.at.packages.macports.org/agrep
    27    --->  Fetching distfiles for agrep
    28    --->  Verifying checksums for agrep
    29    --->  Extracting agrep
    30    --->  Applying patches to agrep
    31    --->  Configuring agrep
    32    --->  Building agrep
    33    --->  Staging agrep into destroot                       
    34    --->  Installing agrep @2.04_1
    35    --->  Activating agrep @2.04_1
    36    --->  Cleaning agrep
    37 }}}
    3838
    39 (no guarantees, but fingers much crossed)
     39~~(no guarantees, but fingers much crossed)~~