diff options
author | Kang Kai <kai.kang@windriver.com> | 2011-07-20 09:57:12 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-07-27 12:02:41 +0100 |
commit | 03bf55e6a4661877ba65617e5bbe904d37b97612 (patch) | |
tree | 00ce9798e0e435663de2a5e3ff0e8d76feedfc95 /meta/recipes-extended | |
parent | b1a020621cbbfcf5607cdf2ceb78f29082824620 (diff) | |
download | poky-03bf55e6a4661877ba65617e5bbe904d37b97612.tar.gz |
cups: add pam support
According to distro_feature then add pam support for cups or not.
(From OE-Core rev: d1e0482bf7fb8e31746cb0e53bbd708fc08c9846)
Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r-- | meta/recipes-extended/cups/cups_1.4.6.bb | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/meta/recipes-extended/cups/cups_1.4.6.bb b/meta/recipes-extended/cups/cups_1.4.6.bb index 86b53403eb..fd20dcceeb 100644 --- a/meta/recipes-extended/cups/cups_1.4.6.bb +++ b/meta/recipes-extended/cups/cups_1.4.6.bb | |||
@@ -1,7 +1,8 @@ | |||
1 | require cups14.inc | 1 | require cups14.inc |
2 | 2 | ||
3 | PR = "r0" | 3 | PR = "r1" |
4 | DEPENDS += "libusb" | 4 | DEPENDS += "libusb \ |
5 | ${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" | ||
5 | 6 | ||
6 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=956e7600195e6139f12de8c2a5bbefa9" | 7 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=956e7600195e6139f12de8c2a5bbefa9" |
7 | SRC_URI += " \ | 8 | SRC_URI += " \ |
@@ -12,6 +13,7 @@ SRC_URI += " \ | |||
12 | SRC_URI[md5sum] = "de8fb5a29c36554925c0c6a6e2c0dae1" | 13 | SRC_URI[md5sum] = "de8fb5a29c36554925c0c6a6e2c0dae1" |
13 | SRC_URI[sha256sum] = "f08711702a77b52c7150f96fe1f45482f6151cb95ef601268c528607fe6ad514" | 14 | SRC_URI[sha256sum] = "f08711702a77b52c7150f96fe1f45482f6151cb95ef601268c528607fe6ad514" |
14 | 15 | ||
15 | EXTRA_OECONF += " --disable-gssapi --enable-debug --disable-relro --enable-libusb" | 16 | EXTRA_OECONF += " --disable-gssapi --enable-debug --disable-relro --enable-libusb \ |
17 | ${@base_contains('DISTRO_FEATURES', 'pam', '--enable-pam', '--disable-pam', d)}" | ||
16 | 18 | ||
17 | CONFFILES_${PN} += "${sysconfdir}/cups/cupsd.conf" | 19 | CONFFILES_${PN} += "${sysconfdir}/cups/cupsd.conf" |