[oe] [PATCH] libcap2: add libpam to DEPENDS

Tom Rini tom_rini at mentor.com
Thu Jan 13 21:29:16 UTC 2011


On 01/13/2011 02:19 PM, Andreas Oberritter wrote:
> * Fixes the following compile error:
>
> pam_cap.c:19:34: error: security/pam_modules.h: No such file or
> directory
> pam_cap.c:20:34: error: security/_pam_macros.h: No such file or
> directory
>
> Signed-off-by: Andreas Oberritter<obi at opendreambox.org>
> CC: Frans Meulenbroeks<fransmeulenbroeks at gmail.com>

Possible to use the pam DISTRO_FEATURE?

> ---
>   recipes/libcap/libcap2_2.16.bb |    4 ++--
>   1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/recipes/libcap/libcap2_2.16.bb b/recipes/libcap/libcap2_2.16.bb
> index 97b03d5..be0788e 100644
> --- a/recipes/libcap/libcap2_2.16.bb
> +++ b/recipes/libcap/libcap2_2.16.bb
> @@ -2,8 +2,8 @@ DESCRIPTION = "Libcap is a library for getting and setting POSIX.1e (formerly PO
>   PRIORITY = "optional"
>   SECTION = "libs"
>   LICENSE = "GPL"
> -DEPENDS = "bison-native flex-native attr"
> -PR = "r2"
> +DEPENDS = "bison-native flex-native attr libpam"
> +PR = "r3"
>
>   BUILD_CFLAGS += "-I${S}/libcap/include"
>   CFLAGS += "-I${S}/libcap/include"


-- 
Tom Rini
Mentor Graphics Corporation




More information about the Openembedded-devel mailing list