From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [meta-oe][PATCH 06/11] uw-imap: make libpam dependency dependent on DISTRO_FEATURES
Date: Fri, 2 Jan 2015 13:47:21 +0100 [thread overview]
Message-ID: <20150102124721.GG2469@jama> (raw)
In-Reply-To: <3f651d7b200c06d29a1e236f613d2f8f745a5a03.1420190530.git.paul.eggleton@linux.intel.com>
[-- Attachment #1: Type: text/plain, Size: 2064 bytes --]
On Fri, Jan 02, 2015 at 09:32:01AM +0000, Paul Eggleton wrote:
> If pam is not in DISTRO_FEATURES, we shouldn't be building it.
>
> Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
> ---
> meta-oe/recipes-devtools/uw-imap/uw-imap_2007f.bb | 8 ++++++--
> 1 file changed, 6 insertions(+), 2 deletions(-)
>
> diff --git a/meta-oe/recipes-devtools/uw-imap/uw-imap_2007f.bb b/meta-oe/recipes-devtools/uw-imap/uw-imap_2007f.bb
> index e1a9877..867c2d0 100644
> --- a/meta-oe/recipes-devtools/uw-imap/uw-imap_2007f.bb
> +++ b/meta-oe/recipes-devtools/uw-imap/uw-imap_2007f.bb
> @@ -4,7 +4,7 @@ SECTION = "devel"
> LICENSE = "Apache-2.0"
> LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a6a4ddbb7cd2999f6827ee143f6fcd97"
>
> -DEPENDS = "openssl libpam"
> +DEPENDS = "openssl"
>
> SRC_URI = "ftp://ftp.cac.washington.edu/imap/imap-${PV}.tar.gz \
> file://quote_cctype.patch \
> @@ -17,13 +17,17 @@ SRC_URI[sha256sum] = "53e15a2b5c1bc80161d42e9f69792a3fa18332b7b771910131004eb520
>
> S = "${WORKDIR}/imap-${PV}"
>
> +PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam', '', d)}"
> +PACKAGECONFIG[pam] = ",,libpam"
> +
> +#EXTRA_OEMAKE = "CC='${CC}' ${@bb.utils.contains('PACKAGECONFIG', 'pam', '', 'PAMLDFLAGS= CHECKPW=psx', d)}"
^ is this needed to prevent autodetecting it from sysroot?
> EXTRA_OEMAKE = "CC='${CC}'"
>
> HEADERS = "src/c-client/*.h src/osdep/unix/*.h c-client/auths.c c-client/linkage.c c-client/linkage.h c-client/osdep.h"
>
> do_compile() {
> echo "SSLINCLUDE=${STAGING_INCDIR} SSLLIB=${STAGING_LIBDIR}" > ${S}/SPECIALS
> - oe_runmake lnp
> + oe_runmake ${@bb.utils.contains('PACKAGECONFIG', 'pam', 'lnp', 'slx', d)}
> }
>
> do_install() {
> --
> 1.9.3
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]
next prev parent reply other threads:[~2015-01-02 12:47 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-02 9:31 [meta-oe/meta-webserver][PATCH 00/11] Merge modphp into php and upgrade Paul Eggleton
2015-01-02 9:31 ` [meta-oe][PATCH 01/11] php: upgrade to 5.5.15 Paul Eggleton
2015-01-02 9:31 ` [meta-oe][PATCH 02/11] libc-client: rename to uw-imap, upgrade to 2007f Paul Eggleton
2015-01-02 9:31 ` [meta-oe][PATCH 03/11] php: integrate modphp Paul Eggleton
2015-01-02 12:49 ` Martin Jansa
2015-01-02 17:10 ` Paul Eggleton
2015-01-02 17:41 ` Martin Jansa
2015-01-02 9:31 ` [meta-oe][PATCH 04/11] php: upgrade to 5.5.20 Paul Eggleton
2015-01-02 9:32 ` [meta-webserver][PATCH 05/11] modphp: remove Paul Eggleton
2015-01-02 9:32 ` [meta-oe][PATCH 06/11] uw-imap: make libpam dependency dependent on DISTRO_FEATURES Paul Eggleton
2015-01-02 12:47 ` Martin Jansa [this message]
2015-01-02 16:39 ` Paul Eggleton
2015-01-02 9:32 ` [meta-oe][PATCH 07/11] php: add PACKAGECONFIG to fix implicit dependency on libpam Paul Eggleton
2015-01-02 9:32 ` [meta-oe][PATCH 08/11] php: add PACKAGECONFIG for imap Paul Eggleton
2015-01-02 9:32 ` [meta-webserver][PATCH 09/11] xdebug: fix DEPENDS and un-blacklist Paul Eggleton
2015-01-02 9:32 ` [meta-webserver][PATCH 10/11] xdebug: update to 2.2.6 Paul Eggleton
2015-01-02 9:32 ` [meta-webserver][PATCH 11/11] phpmyadmin: update to 4.3.4 Paul Eggleton
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=20150102124721.GG2469@jama \
--to=martin.jansa@gmail.com \
--cc=openembedded-devel@lists.openembedded.org \
/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.