From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 5/8] package/apr-util: Rework dependencies
Date: Sun, 5 Oct 2014 17:00:47 +0200 [thread overview]
Message-ID: <20141005150047.GJ4220@free.fr> (raw)
In-Reply-To: <1412516718-12597-5-git-send-email-bernd.kuhls@t-online.de>
Bernd, All,
On 2014-10-05 15:45 +0200, Bernd Kuhls spake thusly:
> - add expat hard-dependency, when missing apr-util compiles its own expat
> - all database libs are optional
> - add optional OpenSSL support
> - remove unused dependencies neon and zlib
I'd prefer those are done in separate patches:
- add hard-dependency to expat
- remove unused neon and zlib
- make sqlite optional
- add optional bdb
- add optional gdbm
- add optional mysql
- add optional openssl
Also, see below for additional comments...
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[--SNIP--]
> diff --git a/package/apr-util/apr-util.mk b/package/apr-util/apr-util.mk
> index 3e9ce54..4d5d988 100644
> --- a/package/apr-util/apr-util.mk
> +++ b/package/apr-util/apr-util.mk
> @@ -9,7 +9,7 @@ APR_UTIL_SITE = http://archive.apache.org/dist/apr
> APR_UTIL_LICENSE = Apache-2.0
> APR_UTIL_LICENSE_FILES = LICENSE
> APR_UTIL_INSTALL_STAGING = YES
> -APR_UTIL_DEPENDENCIES = apr sqlite neon zlib
> +APR_UTIL_DEPENDENCIES = apr expat
> APR_UTIL_CONF_OPTS = \
> --with-apr=$(STAGING_DIR)/usr/bin/apr-1-config
> APR_UTIL_CONFIG_SCRIPTS = apu-1-config
> @@ -18,4 +18,39 @@ APR_UTIL_CONFIG_SCRIPTS = apu-1-config
> # features.
> APR_UTIL_DEPENDENCIES += $(if $(BR2_PACKAGE_LIBICONV),libiconv)
>
> +ifeq ($(BR2_PACKAGE_BERKELEYDB),y)
> +APR_UTIL_CONF_OPTS += --with-dbm=db53 --with-berkeley-db="$(STAGING_DIR)/usr"
> +APR_UTIL_DEPENDENCIES += berkeleydb
> +else
> +APR_UTIL_CONF_OPTS += --without-berkeley-db
> +endif
> +
> +ifeq ($(BR2_PACKAGE_GDBM),y)
> +APR_UTIL_CONF_OPTS += --with-gdbm="$(STAGING_DIR)/usr"
> +APR_UTIL_DEPENDENCIES += gdbm
> +else
> +APR_UTIL_CONF_OPTS += --without-gdbm
> +endif
> +
> +ifeq ($(BR2_PACKAGE_MYSQL),y)
> +APR_UTIL_CONF_OPTS += --with-mysql="$(STAGING_DIR)/usr"
> +APR_UTIL_DEPENDENCIES += mysql
> +else
> +APR_UTIL_CONF_OPTS += --without-mysql
> +endif
> +
> +ifeq ($(BR2_PACKAGE_OPENSSL),y)
> +APR_UTIL_CONF_OPTS += --with-crypto --with-openssl="$(STAGING_DIR)/usr"
> +APR_UTIL_DEPENDENCIES += openssl
> +else
> +APR_UTIL_CONF_OPTS += --without-ssl
> +endif
> +
> +ifeq ($(BR2_PACKAGE_SQLITE),y)
> +APR_UTIL_CONF_OPTS += --with-sqlite3="$(STAGING_DIR)/usr"
> +APR_UTIL_DEPENDENCIES += sqlite
> +else
> +APR_UTIL_CONF_OPTS += --without-sqlite3
> +endif
I see you use an alphabetical order. I would prefer they be sorted by
category, and then alphabetically:
- bdb
- gdbm
- mysql
- sqlite
- openssl
It seems more logical to me (personal preference), but I won't care much
either way.
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| 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. |
'------------------------------^-------^------------------^--------------------'
next prev parent reply other threads:[~2014-10-05 15:00 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-05 13:45 [Buildroot] [PATCH 1/8] package/apr: Bump version to 1.5.1 Bernd Kuhls
2014-10-05 13:45 ` [Buildroot] [PATCH 2/8] package/apr: Fix detection of rlimit and large file support Bernd Kuhls
2014-10-05 14:48 ` Yann E. MORIN
2014-10-05 13:45 ` [Buildroot] [PATCH 3/8] package/apr-util: Add comment to describe toolchain dependencies Bernd Kuhls
2014-10-05 14:45 ` Yann E. MORIN
2014-10-05 16:01 ` Thomas Petazzoni
2014-10-05 13:45 ` [Buildroot] [PATCH 4/8] package/apr-util: Bump version to 1.5.4 Bernd Kuhls
2014-10-05 13:45 ` [Buildroot] [PATCH 5/8] package/apr-util: Rework dependencies Bernd Kuhls
2014-10-05 15:00 ` Yann E. MORIN [this message]
2014-10-05 13:45 ` [Buildroot] [PATCH 6/8] package/apr: Fix for Apache when listening to multiple ports Bernd Kuhls
2014-10-05 15:04 ` Yann E. MORIN
2014-10-05 13:45 ` [Buildroot] [PATCH 7/8] Apache: New package Bernd Kuhls
2014-10-05 15:23 ` Yann E. MORIN
2014-10-05 13:45 ` [Buildroot] [PATCH 8/8] package/php: Add Apache support Bernd Kuhls
2014-10-05 15:56 ` Yann E. MORIN
2014-10-05 16:48 ` Gustavo Zacarias
2014-10-05 14:42 ` [Buildroot] [PATCH 1/8] package/apr: Bump version to 1.5.1 Yann E. MORIN
2014-10-05 16:16 ` Thomas Petazzoni
2014-10-05 16:30 ` Bernd Kuhls
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=20141005150047.GJ4220@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 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.