dev-libs/m_cli2: rename to M_CLI2 to follow upstream naming

Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru>
This commit is contained in:
Sergey Torokhov
2023-04-19 01:56:33 +03:00
parent c467ac6746
commit 334cea9252
5 changed files with 11 additions and 11 deletions

View File

@@ -15,7 +15,7 @@ diff -Naur a/fpm.toml b/fpm.toml
-rev = "ea6bbffc1c2fb0885e994d37ccf0029c99b19f24"
+[build]
+external-modules = ["tomlf", "m_cli2"]
+link = ["toml-f","m_cli2"]
+link = ["toml-f","M_CLI2"]
[[test]]
name = "cli-test"

View File

@@ -24,7 +24,7 @@ RESTRICT="!test? ( test )"
CDEPEND="
dev-libs/toml-f:0/2
dev-libs/m_cli2
dev-libs/M_CLI2
"
RDEPEND="
@@ -88,7 +88,7 @@ src_compile() {
"$(tc-getFC)" -J "${BSDIR}" -o "${BSDIR}"/fpm "${BSDIR}/${P}.F90" || die
# Use the bootstrap binary to build the feature complete fpm version
"${BSDIR}"/fpm build --verbose --compiler "$(tc-getFC)" --flag "${FCFLAGS} ${OMPFLAG} -I/usr/include/toml-f -I/usr/include/m_cli2" \
"${BSDIR}"/fpm build --verbose --compiler "$(tc-getFC)" --flag "${FCFLAGS} ${OMPFLAG} -I/usr/include/toml-f -I/usr/include/M_CLI2" \
--c-compiler "$(tc-getCC)" --c-flag "${CFLAGS}" \
--cxx-compiler "$(tc-getCXX)" --cxx-flag "${CXXFLAGS}" \
--archiver "$(tc-getAR)" --link-flag "${LDFLAGS}" || die
@@ -100,7 +100,7 @@ src_compile() {
}
src_test() {
"${BSDIR}"/fpm test --verbose --compiler "$(tc-getFC)" --flag "${FCFLAGS} ${OMPFLAG} -I/usr/include/toml-f -I/usr/include/m_cli2" \
"${BSDIR}"/fpm test --verbose --compiler "$(tc-getFC)" --flag "${FCFLAGS} ${OMPFLAG} -I/usr/include/toml-f -I/usr/include/M_CLI2" \
--c-compiler "$(tc-getCC)" --c-flag "${CFLAGS}" \
--cxx-compiler "$(tc-getCXX)" --cxx-flag "${CXXFLAGS}" \
--archiver="$(tc-getAR)" --link-flag "${LDFLAGS}" || die
@@ -109,7 +109,7 @@ src_test() {
src_install() {
# Set prefix and pass all used env flags to avoid recompiling with default values
"${BSDIR}"/fpm install --prefix "${ED}/usr" \
--compiler "$(tc-getFC)" --flag "${FCFLAGS} ${OMPFLAG} -I/usr/include/toml-f -I/usr/include/m_cli2" \
--compiler "$(tc-getFC)" --flag "${FCFLAGS} ${OMPFLAG} -I/usr/include/toml-f -I/usr/include/M_CLI2" \
--c-compiler "$(tc-getCC)" --c-flag "${CFLAGS}" \
--cxx-compiler "$(tc-getCXX)" --cxx-flag "${CXXFLAGS}" \
--archiver="$(tc-getAR)" --link-flag "${LDFLAGS}" || die