luci-base: move the ucode-mod-math dependency to luci-app-ddns

With randomid() off math.rand(), luci-base has no ucode math user left.
The one remaining consumer in the tree is luci-app-ddns, whose ddns.uc
imports isnan() while its Makefile only declares +luci-base - it has been
getting the module transitively all along.

Declare it where it is used.

Assisted-by: Claude:claude-opus-5
Signed-off-by: Julius Bairaktaris <julius@bairaktaris.de>
This commit is contained in:
Julius Bairaktaris authored and Jo-Philipp Wich committed 2026-08-01 17:19:39 +02:00
1 parent df71c66019
commit 3fb9db3869
2 files changed
+1 -2

No files matched your search

+1 -1
View File
@@ -12,7 +12,7 @@ PKG_LICENSE:=Apache-2.0
PKG_MAINTAINER:=Ansuel Smith <ansuelsmth@gmail.com>
LUCI_TITLE:=LuCI Support for Dynamic DNS Client (ddns-scripts)
LUCI_DEPENDS:=+luci-base +ddns-scripts
LUCI_DEPENDS:=+luci-base +ddns-scripts +ucode-mod-math
include ../../luci.mk
-1
View File
@@ -24,7 +24,6 @@ LUCI_DEPENDS:=\
+ucode-mod-log \
+ucode-mod-uci \
+ucode-mod-ubus \
+ucode-mod-math \
+ucode-mod-html \
+liblucihttp-ucode