libpam: fix building for uclibc
authorHenning Heinold <heinold@inf.fu-berlin.de>
Fri, 13 Nov 2009 11:03:40 +0000 (12:03 +0100)
committerHenning Heinold <heinold@inf.fu-berlin.de>
Tue, 17 Nov 2009 20:34:21 +0000 (21:34 +0100)
recipes/pam/libpam_1.0.2.bb

index 0151a46..b288458 100644 (file)
@@ -23,7 +23,8 @@ S = "${WORKDIR}/${p}"
 SRC_URI = "${KERNELORG_MIRROR}/pub/linux/libs/pam/library/${p}.tar.bz2 \
            file://pam-nodocs.patch;patch=1 "
 
-SRC_URI_append_libc-uclibc = "file://pam-disable-nis-on-uclibc.patch;patch=1"
+SRC_URI_append_linux-uclibc = " file://pam-disable-nis-on-uclibc.patch;patch=1"
+SRC_URI_append_linux-uclibceabi = " file://pam-disable-nis-on-uclibc.patch;patch=1"
 
 inherit autotools
 
@@ -32,6 +33,9 @@ LEAD_SONAME = "libpam.so.*"
 # maintain the pam default layout
 EXTRA_OECONF += " --includedir=${includedir}/security"
 
+EXTRA_OECONF_linux-uclibc += "--disable-nls"
+EXTRA_OECONF_linux-uclibceabi += "--disable-nls"
+
 PACKAGES_DYNAMIC += " libpam-meta pam-plugin-*"
 
 python populate_packages_prepend () {