commit f15000786ad127e9a90e53703bfbc7559a1a000d
parent 036ddb30f3c0bccfb68a2a5f6bc133c424250ee5
Author: torter <koubbamohamedrayan@gmail.com>
Date: Sun, 15 Nov 2026 00:49:22 +0000
devel/cmake/build.mk means cmake
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/mag.c b/mag.c
@@ -751,6 +751,7 @@ static void read_makefile(struct vars *vs, const char *file, const char *pkgdir,
if (strstr(inc, ".buildlink3.mk")) { char *d = xstrdup(inc + 6); if (!has(bl, d)) push(bl, d); else free(d); }
} else if (strstr(inc, "lang/python/pyversion.mk")) {
} else if (strstr(inc, "devel/meson/build.mk")) { var_set(vs, "MAG_MESON", "yes");
+ } else if (strstr(inc, "devel/cmake/build.mk")) { var_set(vs, "USE_CMAKE", "yes");
} else if (inc[0] != '/') {
char *here = xstrdup(file), *sl = strrchr(here, '/'), *p;
if (sl) *sl = 0; else strcpy(here, ".");