Browse Source

perl: Invert perlbase-essential/perlbase-config circular dependency solution

perlbase-essential and perlbase-config depend on functionality from
each other. Previously, this was solved by just making perlbase-config depend
on perlbase-essential.
However, since a simple "use lib" is enough to trigger pulling in Config, this
approach doesn't seem to make much sense. So let's just make perlbase-essential
depend on perlbase-config instead.
This pulls in perlbase-config as a dependency to pretty much every Perl package,
so in the future we might want to just merge Config into perlbase-essential.

Thanks to Robert Högberg for spotting this.

Signed-off-by: Marcel Denia <naoir@gmx.net>
lilik-openwrt-22.03
Marcel Denia 9 years ago
parent
commit
58a7c33ca7
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      lang/perl/perlbase.mk

+ 2
- 2
lang/perl/perlbase.mk View File

@ -287,7 +287,6 @@ $(eval $(call BuildPackage,perlbase-compress))
define Package/perlbase-config
$(call Package/perlbase-template)
TITLE:=Config perl module
DEPENDS+=+perlbase-essential
endef
define Package/perlbase-config/install
@ -554,6 +553,7 @@ $(eval $(call BuildPackage,perlbase-errno))
define Package/perlbase-essential
$(call Package/perlbase-template)
TITLE:=essential perl module
DEPENDS+=+perlbase-config
endef
define Package/perlbase-essential/install
@ -1556,4 +1556,4 @@ endef
$(eval $(call BuildPackage,perlbase-xsloader))
# Generated Tue Aug 25 21:14:51 2015
# Generated Fri Sep 25 07:47:59 2015

Loading…
Cancel
Save