diff options
author | Jiaqing Zhao <jiaqing.zhao@linux.intel.com> | 2022-03-03 09:59:00 +0000 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-03-03 08:50:19 -0800 |
commit | 7d138d3f47b8ad2eb5b4088cc211eca07035e4c8 (patch) | |
tree | 1a313d2e39e80bd9792cd3fd7ffb61384cd0c126 /meta-networking/recipes-support/esmtp/esmtp_1.2.bb | |
parent | dec689cf6ddf65d018206ba422d22b6a6b29d1a3 (diff) | |
download | meta-openembedded-7d138d3f47b8ad2eb5b4088cc211eca07035e4c8.tar.gz |
esmtp: fix libesmtp dependency check
Since libesmtp-1.1.0, libesmtp-config is removed, use pkg-config to
check for existence instead.
Signed-off-by: Jiaqing Zhao <jiaqing.zhao@linux.intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking/recipes-support/esmtp/esmtp_1.2.bb')
-rw-r--r-- | meta-networking/recipes-support/esmtp/esmtp_1.2.bb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/meta-networking/recipes-support/esmtp/esmtp_1.2.bb b/meta-networking/recipes-support/esmtp/esmtp_1.2.bb index 110399a36..be4cfe3e2 100644 --- a/meta-networking/recipes-support/esmtp/esmtp_1.2.bb +++ b/meta-networking/recipes-support/esmtp/esmtp_1.2.bb | |||
@@ -11,12 +11,14 @@ DEPENDS = "libesmtp" | |||
11 | LICENSE = "GPL-2.0" | 11 | LICENSE = "GPL-2.0" |
12 | LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3" | 12 | LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3" |
13 | 13 | ||
14 | SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${PV}/${BPN}-${PV}.tar.bz2" | 14 | SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${PV}/${BPN}-${PV}.tar.bz2 \ |
15 | file://0001-Fix-libESMTP-dependency-check.patch \ | ||
16 | " | ||
15 | 17 | ||
16 | # Have to set this or we get -L/lib in LDFLAGS | 18 | # Have to set this or we get -L/lib in LDFLAGS |
17 | EXTRA_OECONF = "--with-libesmtp=${STAGING_EXECPREFIXDIR}" | 19 | EXTRA_OECONF = "--with-libesmtp=${STAGING_EXECPREFIXDIR}" |
18 | 20 | ||
19 | inherit autotools update-alternatives | 21 | inherit autotools update-alternatives pkgconfig |
20 | 22 | ||
21 | ALTERNATIVE:${PN} = "sendmail mailq newaliases" | 23 | ALTERNATIVE:${PN} = "sendmail mailq newaliases" |
22 | # /usr/lib/sendmial is required by LSB core test | 24 | # /usr/lib/sendmial is required by LSB core test |