Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] rpm: Fix automagic dependency on openssl
@ 2012-04-03  8:35 Markos Chandras
  2012-04-03 21:29 ` Peter Korsgaard
  0 siblings, 1 reply; 3+ messages in thread
From: Markos Chandras @ 2012-04-03  8:35 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
---
 package/rpm/rpm.mk |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/package/rpm/rpm.mk b/package/rpm/rpm.mk
index 9f42ee1..47c2ee9 100644
--- a/package/rpm/rpm.mk
+++ b/package/rpm/rpm.mk
@@ -17,6 +17,13 @@ RPM_CONF_OPT = --disable-build-versionscript --disable-rpath \
 	--with-libbeecrypt=$(STAGING_DIR) \
 	--with-popt=$(STAGING_DIR)
 
+ifeq ($(BR2_PACKAGE_OPENSSL),y)
+RPM_DEPENDENCIES += openssl
+RPM_CONF_OPT += --with-openssl=external
+else
+RPM_CONF_OPT += --with-openssl=no
+endif
+
 ifeq ($(BR2_PACKAGE_PCRE),y)
 RPM_DEPENDENCIES += pcre
 RPM_CONF_OPT += --with-pcre=external
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-04-04  9:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-03  8:35 [Buildroot] [PATCH] rpm: Fix automagic dependency on openssl Markos Chandras
2012-04-03 21:29 ` Peter Korsgaard
2012-04-04  9:15   ` Markos Chandras

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox