contrib: fix dependency on luci-theme-base
authorJo-Philipp Wich <jow@openwrt.org>
Tue, 16 Nov 2010 17:29:21 +0000 (17:29 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Tue, 16 Nov 2010 17:29:21 +0000 (17:29 +0000)
contrib/package/luci/Makefile

index 617088750b9681ae31b956e9f35489397b1397e8..70dc7b0bed3f8c5365caf8830d67445e13e96e6b 100644 (file)
@@ -459,7 +459,7 @@ define theme
     SUBMENU:=Themes
     TITLE:=$(if $(2),$(2),LuCI $(1) theme)
        MAINTAINER:=$(if $(3),$(3),LuCI Development Team <luci@lists.subsignal.org>)
-       DEPENDS:=$(ifneq $(1),base,+luci-theme-base) $(4)
+       DEPENDS:=$(if $(filter-out base,$(1)),+luci-theme-base) $(4)
        $(if $(5),DEFAULT:=y if PACKAGE_luci-lib-core)
   endef