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>
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))
287 287
 define Package/perlbase-config
288 288
 $(call Package/perlbase-template)
289 289
 TITLE:=Config perl module
290
-DEPENDS+=+perlbase-essential
291 290
 endef
292 291
 
293 292
 define Package/perlbase-config/install
@@ -554,6 +553,7 @@ $(eval $(call BuildPackage,perlbase-errno))
554 553
 define Package/perlbase-essential
555 554
 $(call Package/perlbase-template)
556 555
 TITLE:=essential perl module
556
+DEPENDS+=+perlbase-config
557 557
 endef
558 558
 
559 559
 define Package/perlbase-essential/install
@@ -1556,4 +1556,4 @@ endef
1556 1556
 $(eval $(call BuildPackage,perlbase-xsloader))
1557 1557
 
1558 1558
 
1559
-# Generated Tue Aug 25 21:14:51 2015
1559
+# Generated Fri Sep 25 07:47:59 2015