diff options
Diffstat (limited to 'meta/recipes-extended/quota/quota_4.03.bb')
-rw-r--r-- | meta/recipes-extended/quota/quota_4.03.bb | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/meta/recipes-extended/quota/quota_4.03.bb b/meta/recipes-extended/quota/quota_4.03.bb index 4a980464b1..22aab4147b 100644 --- a/meta/recipes-extended/quota/quota_4.03.bb +++ b/meta/recipes-extended/quota/quota_4.03.bb | |||
@@ -12,6 +12,10 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/project/linuxquota/quota-tools/${PV}/quota-${PV | |||
12 | file://0001-Do-not-accidentaly-override-commandline-passed-CFLAG.patch \ | 12 | file://0001-Do-not-accidentaly-override-commandline-passed-CFLAG.patch \ |
13 | file://fcntl.patch \ | 13 | file://fcntl.patch \ |
14 | file://remove_non_posix_types.patch \ | 14 | file://remove_non_posix_types.patch \ |
15 | file://0001-Use-NGROUPS_MAX-instead-of-NGROUPS.patch \ | ||
16 | file://0002-Allow-building-on-systems-that-do-not-have-rpc-heade.patch \ | ||
17 | file://0003-Don-t-build-rpc.rquotad-when-disable-rpc-was-request.patch \ | ||
18 | file://0004-Fix-warnings-due-to-missing-stdlib.h.patch \ | ||
15 | " | 19 | " |
16 | SRC_URI_append_libc-musl = " file://replace_getrpcbynumber_r.patch" | 20 | SRC_URI_append_libc-musl = " file://replace_getrpcbynumber_r.patch" |
17 | 21 | ||
@@ -25,8 +29,8 @@ DEPENDS = "gettext-native e2fsprogs libnl dbus" | |||
25 | 29 | ||
26 | inherit autotools-brokensep gettext pkgconfig | 30 | inherit autotools-brokensep gettext pkgconfig |
27 | 31 | ||
28 | CFLAGS += "-I${STAGING_INCDIR}/tirpc" | 32 | CFLAGS += "${@bb.utils.contains('PACKAGECONFIG', 'rpc', '-I${STAGING_INCDIR}/tirpc', '', d)}" |
29 | LDFLAGS += "-ltirpc" | 33 | LDFLAGS += "${@bb.utils.contains('PACKAGECONFIG', 'rpc', '-ltirpc', '', d)}" |
30 | ASNEEDED = "" | 34 | ASNEEDED = "" |
31 | 35 | ||
32 | PACKAGECONFIG ??= "tcp-wrappers rpc bsd" | 36 | PACKAGECONFIG ??= "tcp-wrappers rpc bsd" |