diff options
author | Henning Heinold <heinold@inf.fu-berlin.de> | 2009-11-24 22:35:14 +0100 |
---|---|---|
committer | Henning Heinold <heinold@inf.fu-berlin.de> | 2009-11-24 22:57:01 +0100 |
commit | 6367d91cf4e9e2fea3b49da50384648e270e27bb (patch) | |
tree | 0d19ae90a0152c3cb37c470f37ef7094dd0eaa1a /recipes/pam/libpam_1.1.0.bb | |
parent | 7d6fd7a541572d5d3f0f5cd5e2e2c488db682481 (diff) |
libpam: fix building on uClibc
* brink back nis disable patch
* fix a cut and paste bug when nls disabled
* disable modules uClibc dont support
* bump PR
Diffstat (limited to 'recipes/pam/libpam_1.1.0.bb')
-rw-r--r-- | recipes/pam/libpam_1.1.0.bb | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/recipes/pam/libpam_1.1.0.bb b/recipes/pam/libpam_1.1.0.bb index 32dc9e15cb..d974f4db4d 100644 --- a/recipes/pam/libpam_1.1.0.bb +++ b/recipes/pam/libpam_1.1.0.bb @@ -10,14 +10,12 @@ SECTION = "libs" PRIORITY = "optional" LICENSE = "GPLv2" -DEFAULT_PREFERENCE_libc-uclibc = "-1" - DEPENDS = "flex flex-native" # PAM is not a lot of use without configuration files and the plugins RRECOMMENDS_${PN} = "libpam-meta libpam-base-files" -PR = "r0" +PR = "r1" # The project is actually called Linux-PAM but that gives # a bad OE package name because of the upper case characters @@ -26,9 +24,18 @@ p = "${pn}-${PV}" S = "${WORKDIR}/${p}" SRC_URI = "${KERNELORG_MIRROR}/pub/linux/libs/pam/library/${p}.tar.bz2 \ - file://pam-nodocs.patch;patch=1 " + file://pam-nodocs.patch;patch=1 \ + file://fix_disabled_nls.patch;patch=1 \ + " + +UCLIBC_PATCHES = " file://pam-disable-nis-on-uclibc.patch;patch=1 \ + file://disable_modules_uclibc.patch;patch=1 \ + " -inherit autotools +SRC_URI_append_linux-uclibc = ${UCLIBC_PATCHES} +SRC_URI_append_linux-uclibceabi = ${UCLIBC_PATCHES} + +inherit autotools gettext LEAD_SONAME = "libpam.so.*" @@ -65,6 +72,3 @@ python populate_packages_prepend () { bb.data.setVar('PACKAGES', ' '.join(packages), d) } -do_stage() { - autotools_stage_all -} |