Changes between Initial Version and Version 1 of Ticket #68759, comment 5
- Timestamp:
- Jan 2, 2025, 1:25:49 AM (17 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #68759, comment 5
initial v1 1 Rough solution (verified on macOS Monterey and macOS Sequoia) 1 Update 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’**.\\ 3 More importantly: ''many'' thanks to ''ryandesign''! (and due apologies…)'' 2 4 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)~~ 4 6 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`)~~ 6 8 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`)~~ 10 10 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" \`~~ 12 15 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~~ 14 18 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:~~ 17 20 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~~\\ 19 37 20 {{{21 Portfile for agrep changed since last build; discarding previous state.22 ---> Computing dependencies for agrep23 ---> Fetching archive for agrep24 ---> Attempting to fetch agrep-2.04_1.darwin_21.x86_64.tbz2 from https://packages.macports.org/agrep25 ---> Attempting to fetch agrep-2.04_1.darwin_21.x86_64.tbz2 from https://mse.uk.packages.macports.org/agrep26 ---> Attempting to fetch agrep-2.04_1.darwin_21.x86_64.tbz2 from https://vie.at.packages.macports.org/agrep27 ---> Fetching distfiles for agrep28 ---> Verifying checksums for agrep29 ---> Extracting agrep30 ---> Applying patches to agrep31 ---> Configuring agrep32 ---> Building agrep33 ---> Staging agrep into destroot34 ---> Installing agrep @2.04_135 ---> Activating agrep @2.04_136 ---> Cleaning agrep37 }}}38 38 39 (no guarantees, but fingers much crossed) 39 ~~(no guarantees, but fingers much crossed)~~
