]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
perl-db-file: remove this package
authorFrancois Perrad <fperrad@gmail.com>
Mon, 26 Dec 2016 14:50:35 +0000 (15:50 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 27 Dec 2016 17:00:50 +0000 (18:00 +0100)
The module DB_File (Berkeley DB wrapper) is a Perl core module.
Long time ago, its build as a core module was broken.
Since perl-cross-1.0.2, this issue is fixed.
So, this package which build DB_File as CPAN module, becomes useless.

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Config.in.legacy
package/Config.in
package/perl-db-file/Config.in [deleted file]
package/perl-db-file/perl-db-file.hash [deleted file]
package/perl-db-file/perl-db-file.mk [deleted file]

index cdadbd8f59f440d25dd6f44486a00086e2e535e0..20445b8a174fcd47c8ffe67760c35a2a1cc2edf0 100644 (file)
@@ -145,6 +145,15 @@ endif
 ###############################################################################
 comment "Legacy options removed in 2017.02"
 
+config BR2_PACKAGE_PERL_DB_FILE
+       bool "perl-db-file removed"
+       select BR2_LEGACY
+       select BR2_PACKAGE_BERKELEYDB
+       select BR2_PACKAGE_PERL
+       help
+         DB_File can be built as a core Perl module, so the separate
+         perl-db-file package has been removed.
+
 config BR2_KERNEL_HEADERS_4_7
        bool "kernel headers version 4.7.x are no longer supported"
        select BR2_KERNEL_HEADERS_4_4
index f2103b5f51425c640bedb0bf78d3b658bd7036ed..18818fa86cd8ecce797debcea641cb1546751390 100644 (file)
@@ -579,7 +579,6 @@ menu "Perl libraries/modules"
        source "package/perl-crypt-openssl-random/Config.in"
        source "package/perl-crypt-openssl-rsa/Config.in"
        source "package/perl-datetime-tiny/Config.in"
-       source "package/perl-db-file/Config.in"
        source "package/perl-digest-hmac/Config.in"
        source "package/perl-digest-sha1/Config.in"
        source "package/perl-encode-detect/Config.in"
diff --git a/package/perl-db-file/Config.in b/package/perl-db-file/Config.in
deleted file mode 100644 (file)
index f07e5df..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-config BR2_PACKAGE_PERL_DB_FILE
-       bool "perl-db-file"
-       depends on !BR2_STATIC_LIBS
-       select BR2_PACKAGE_BERKELEYDB
-       help
-         Perl5 access to Berkeley DB version 1.x or 2.x.
-
-         https://metacpan.org/release/DB_File
-
-comment "perl-db-file needs a toolchain w/ dynamic library"
-       depends on BR2_STATIC_LIBS
diff --git a/package/perl-db-file/perl-db-file.hash b/package/perl-db-file/perl-db-file.hash
deleted file mode 100644 (file)
index df0113c..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-# retrieved by scancpan from http://cpan.metacpan.org/
-md5    0ae7910cabc31a44e50b713a8a475514 DB_File-1.835.tar.gz
-sha256 41206f39a1bac49db8c1595e300b04c70e1393b2d78ccb9ef15c5c0b81037cfc DB_File-1.835.tar.gz
diff --git a/package/perl-db-file/perl-db-file.mk b/package/perl-db-file/perl-db-file.mk
deleted file mode 100644 (file)
index 3db8c56..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-################################################################################
-#
-# perl-db-file
-#
-################################################################################
-
-PERL_DB_FILE_VERSION = 1.835
-PERL_DB_FILE_SOURCE = DB_File-$(PERL_DB_FILE_VERSION).tar.gz
-PERL_DB_FILE_SITE = $(BR2_CPAN_MIRROR)/authors/id/P/PM/PMQS
-PERL_DB_FILE_DEPENDENCIES = berkeleydb
-PERL_DB_FILE_LICENSE = Artistic or GPLv1+
-PERL_DB_FILE_LICENSE_FILES = README
-
-define PERL_DB_FILE_FIX_CONFIG_IN
-       $(SED) 's%^INCLUDE.*%INCLUDE = $(STAGING_DIR)/usr/include%' \
-               $(@D)/config.in
-       $(SED) 's%^LIB.*%LIB = $(STAGING_DIR)/usr/lib%' \
-               $(@D)/config.in
-endef
-PERL_DB_FILE_POST_PATCH_HOOKS += PERL_DB_FILE_FIX_CONFIG_IN
-
-$(eval $(perl-package))