fetchmail: disable rpath to fix buildpaths warning.

There was an error with the last modification to the buildpaths warning, which could cause segment error.

fix the following warning about buildpath:
  WARNING: fetchmail-6.4.38-r0 do_package_qa: QA Issue: File /usr/bin/fetchmail in package fetchmail contains reference to TMPDIR [buildpaths]

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Wang Mingyu 2024-07-10 16:23:36 +08:00 committed by Khem Raj
parent 7bbf253811
commit 09cf028276
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -16,13 +16,10 @@ SRC_URI[sha256sum] = "a6cb4ea863ac61d242ffb2db564a39123761578d3e40d71ce7b6f2905b
inherit autotools gettext pkgconfig python3-dir python3native
EXTRA_OECONF = "--with-ssl=${STAGING_DIR_HOST}${prefix}"
INSANE_SKIP:${PN} = "already-stripped"
EXTRA_OECONF = "--with-ssl=${STAGING_DIR_HOST}${prefix} --disable-rpath "
do_install:append() {
sed -i 's,${RECIPE_SYSROOT_NATIVE},,g' ${D}${bindir}/fetchmailconf
sed -i 's,${RECIPE_SYSROOT},,g' ${D}${bindir}/fetchmail
}
PACKAGES =+ "fetchmail-python"