All of lore.kernel.org
 help / color / mirror / Atom feed
From: James Knight <james.knight@rockwellcollins.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v3 2/4] package/berkeleydb: add host variant
Date: Thu,  3 Sep 2015 11:23:49 -0400	[thread overview]
Message-ID: <1441293831-3524-2-git-send-email-james.knight@rockwellcollins.com> (raw)
In-Reply-To: <1441293831-3524-1-git-send-email-james.knight@rockwellcollins.com>

Required by an upcoming host variant of the `rpm` package.

Signed-off-by: James Knight <james.knight@rockwellcollins.com>
---
Changes v2 -> v3:
  - None.

Changes v1 -> v2:
  - Package change introduced in change set 2.
---
 package/berkeleydb/berkeleydb.mk | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/package/berkeleydb/berkeleydb.mk b/package/berkeleydb/berkeleydb.mk
index e5c11bd..e9ab760 100644
--- a/package/berkeleydb/berkeleydb.mk
+++ b/package/berkeleydb/berkeleydb.mk
@@ -44,6 +44,26 @@ define BERKELEYDB_CONFIGURE_CMDS
 	)
 endef
 
+define HOST_BERKELEYDB_CONFIGURE_CMDS
+	(cd $(@D)/build_unix; rm -rf config.cache; \
+		$(HOST_CONFIGURE_OPTS) \
+		$(HOST_CONFIGURE_ARGS) \
+		../dist/configure $(QUIET) \
+		--prefix=/usr \
+		--exec-prefix=/usr \
+		--sysconfdir=/etc \
+		--with-gnu-ld \
+		--disable-java \
+		--disable-tcl \
+		--enable-compat185 \
+		--enable-cxx \
+		--enable-o_direct \
+		--with-pic \
+	)
+endef
+
+HOST_BERKELEYDB_INSTALL_OPTS += DESTDIR="$(HOST_DIR)" install
+
 ifneq ($(BR2_PACKAGE_BERKELEYDB_TOOLS),y)
 
 define BERKELEYDB_REMOVE_TOOLS
@@ -61,3 +81,4 @@ endef
 BERKELEYDB_POST_INSTALL_TARGET_HOOKS += BERKELEYDB_REMOVE_DOCS
 
 $(eval $(autotools-package))
+$(eval $(host-autotools-package))
-- 
1.9.5.msysgit.1

  reply	other threads:[~2015-09-03 15:23 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-03 15:23 [Buildroot] [PATCH v3 1/4] package/rpm: bump to version 4.12.0.1 James Knight
2015-09-03 15:23 ` James Knight [this message]
2015-09-03 16:13   ` [Buildroot] [PATCH v3 2/4] package/berkeleydb: add host variant Yann E. MORIN
2015-09-03 15:23 ` [Buildroot] [PATCH v3 3/4] package/beecrypt: " James Knight
2015-09-03 16:15   ` Yann E. MORIN
2015-09-03 16:32   ` Yann E. MORIN
2015-09-03 20:39     ` Arnout Vandecappelle
2015-09-03 15:23 ` [Buildroot] [PATCH v3 4/4] package/rpm: " James Knight
2015-09-03 18:35   ` Yann E. MORIN
2015-09-03 20:34     ` James Knight
2015-09-03 20:55       ` Yann E. MORIN
2015-09-04 11:22 ` [Buildroot] [PATCH v3 1/4] package/rpm: bump to version 4.12.0.1 Vicente Olivert Riera
2015-10-03 14:15 ` Peter Korsgaard
2015-10-05 14:31   ` James Knight

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1441293831-3524-2-git-send-email-james.knight@rockwellcollins.com \
    --to=james.knight@rockwellcollins.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.