From 0847a2cda004638c24a51589e8fec3b98e684ce3 Mon Sep 17 00:00:00 2001 From: apio Date: Sat, 10 Feb 2024 11:37:52 +0100 Subject: [PATCH] ports: Update README.md This changes a few occurrences of "if using CMake" to the more correct "if the port uses CMake" --- ports/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ports/README.md b/ports/README.md index ecaf91e6..c90e2736 100644 --- a/ports/README.md +++ b/ports/README.md @@ -122,7 +122,7 @@ do_configure() The first two flags `--host=$LUNA_ARCH-luna --prefix=/usr` are required if using a standard configure script, to indicate that we're cross-compiling (compiling the program for another system). Alternatively, you can simply set `use_default_configure=true` without a `do_configure` function, which will simply run the configure script with these two flags, if you don't need anything else. -If using CMake and not needing any extra parameters, setting `use_cmake_configure=true` will have the same effect. +If the port uses CMake and doesn't need any extra parameters, setting `use_cmake_configure=true` will have the same effect. This function is required (unless setting `use_default_configure` or `use_cmake_configure` to `true`), if you don't need it you can simply make it an empty function. @@ -141,7 +141,7 @@ As always, you can refer to the source directory with `srcdir`. If you're using make, you can use the variable `MAKEJOBS` to run the build process in parallel. Alternatively, if you're invoking make without any specific parameters, you can set `default_build_make=true` and skip the `do_build` function. This is the equivalent of doing `make -j$MAKEJOBS`. -Alternatively, if using CMake, you can set `default_build_cmake=true` to do the same thing. +Or if the port uses CMake, you can set `default_build_cmake=true` to do the same thing. In any other case, the `do_build` function is required. @@ -162,7 +162,7 @@ do_install() } ``` If you're invoking `make install` without any specific parameters, you can set `default_install_make=true` and skip the `do_install` function. -If the project uses CMake and you don't need to pass any extra parameters, you can set `default_install_cmake=true`. +If the port uses CMake and you don't need to pass any extra parameters, you can set `default_install_cmake=true`. In any other case, the `do_install` function is required.