[Buildroot] [PATCH v2, 2/8] package/rpm: add optional bzip2 dependency
Fabrice Fontaine
fontaine.fabrice at gmail.com
Sat Mar 30 14:49:41 UTC 2019
There is no --{disable,enable}-bzip2 option
Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
---
Changes v1 -> v2 (after review of Thomas Petazzoni):
- Put bump as the first patch in the serie
package/rpm/rpm.mk | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/package/rpm/rpm.mk b/package/rpm/rpm.mk
index eb9a4a5a51..e076d2a17f 100644
--- a/package/rpm/rpm.mk
+++ b/package/rpm/rpm.mk
@@ -8,7 +8,13 @@ RPM_VERSION_MAJOR = 4.14
RPM_VERSION = $(RPM_VERSION_MAJOR).2.1
RPM_SOURCE = rpm-$(RPM_VERSION).tar.bz2
RPM_SITE = http://ftp.rpm.org/releases/rpm-$(RPM_VERSION_MAJOR).x
-RPM_DEPENDENCIES = host-pkgconf berkeleydb file popt zlib \
+RPM_DEPENDENCIES = \
+ host-pkgconf \
+ berkeleydb \
+ $(if $(BR2_PACKAGE_BZIP2),bzip2) \
+ file \
+ popt \
+ zlib \
$(TARGET_NLS_DEPENDENCIES)
RPM_LICENSE = GPL-2.0 or LGPL-2.0 (library only)
RPM_LICENSE_FILES = COPYING
--
2.20.1
More information about the buildroot
mailing list