Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v3 2/4] package/berkeleydb: add host variant
Date: Thu, 3 Sep 2015 18:13:42 +0200	[thread overview]
Message-ID: <20150903161342.GC3607@free.fr> (raw)
In-Reply-To: <1441293831-3524-2-git-send-email-james.knight@rockwellcollins.com>

James, All,

On 2015-09-03 11:23 -0400, James Knight spake thusly:
> 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 \

This should be:  --prefix=$(HOST_DIR)/usr

> +		--exec-prefix=/usr \

No execprefix.

> +		--sysconfdir=/etc \

This should be:  --sysconfdir=$(HOST_DIR)/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

And then you do not need DESTDIR.

>  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
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

  reply	other threads:[~2015-09-03 16:13 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 ` [Buildroot] [PATCH v3 2/4] package/berkeleydb: add host variant James Knight
2015-09-03 16:13   ` Yann E. MORIN [this message]
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=20150903161342.GC3607@free.fr \
    --to=yann.morin.1998@free.fr \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox