summaryrefslogtreecommitdiffstats
path: root/meta-networking
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2023-05-22 20:39:43 -0700
committerKhem Raj <raj.khem@gmail.com>2023-05-23 08:48:18 -0700
commit8257604b8ab05f7f6e5d0414a12a4aae84e99aaa (patch)
treef18ef54e97f12aa500ed99848491d124e8a836fb /meta-networking
parente34fa43eece60c60b0732ec7a2726ec6489794b9 (diff)
downloadmeta-openembedded-8257604b8ab05f7f6e5d0414a12a4aae84e99aaa.tar.gz
curlpp: Remove references to buildpaths e.g. TMPDIR
Fixes WARNING: curlpp-0.8.1-r0 do_package_qa: QA Issue: File /usr/bin/curlpp-config in package curlpp-dev contains reference to TMPDIR [buildpaths] Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking')
-rw-r--r--meta-networking/recipes-support/curlpp/curlpp/0001-curlpp-config.in-Remove-references-to-absolute-build.patch40
-rw-r--r--meta-networking/recipes-support/curlpp/curlpp_0.8.1.bb3
2 files changed, 42 insertions, 1 deletions
diff --git a/meta-networking/recipes-support/curlpp/curlpp/0001-curlpp-config.in-Remove-references-to-absolute-build.patch b/meta-networking/recipes-support/curlpp/curlpp/0001-curlpp-config.in-Remove-references-to-absolute-build.patch
new file mode 100644
index 000000000..539e9cefb
--- /dev/null
+++ b/meta-networking/recipes-support/curlpp/curlpp/0001-curlpp-config.in-Remove-references-to-absolute-build.patch
@@ -0,0 +1,40 @@
1From d6eee2d52f31e034f9d84d38a749d86a63d5b769 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 22 May 2023 20:37:47 -0700
4Subject: [PATCH] curlpp-config.in: Remove references to absolute buildpaths
5
6Upstream-Status: Pending
7Signed-off-by: Khem Raj <raj.khem@gmail.com>
8---
9 extras/curlpp-config.in | 6 +++---
10 1 file changed, 3 insertions(+), 3 deletions(-)
11
12diff --git a/extras/curlpp-config.in b/extras/curlpp-config.in
13index b0bd964..1416b94 100644
14--- a/extras/curlpp-config.in
15+++ b/extras/curlpp-config.in
16@@ -43,7 +43,7 @@ while test $# -gt 0; do
17
18 case "$1" in
19 --cc)
20- echo @CC@
21+ curl-config --cc
22 ;;
23
24 --prefix)
25@@ -73,10 +73,10 @@ while test $# -gt 0; do
26 ;;
27
28 --libs)
29- echo -L@libdir@ @LDFLAGS@ @LIBS@ `curl-config --libs` -lcurlpp
30+ echo `curl-config --libs` -lcurlpp
31 ;;
32 --static-libs)
33- echo @libdir_static@/libcurlpp.@libext@ @LDFLAGS@ @LIBS@ `curl-config --static-libs`
34+ echo $prefix/@libdir_static@/libcurlpp.@libext@ `curl-config --static-libs`
35 ;;
36
37 *)
38--
392.40.1
40
diff --git a/meta-networking/recipes-support/curlpp/curlpp_0.8.1.bb b/meta-networking/recipes-support/curlpp/curlpp_0.8.1.bb
index e36a86fd0..131f1873a 100644
--- a/meta-networking/recipes-support/curlpp/curlpp_0.8.1.bb
+++ b/meta-networking/recipes-support/curlpp/curlpp_0.8.1.bb
@@ -7,7 +7,8 @@ LIC_FILES_CHKSUM = "file://doc/LICENSE;md5=fd0c9adf285a69aa3b4faf34384e1029"
7DEPENDS = "curl" 7DEPENDS = "curl"
8DEPENDS:class-native = "curl-native" 8DEPENDS:class-native = "curl-native"
9 9
10SRC_URI = "git://github.com/jpbarrette/curlpp.git;branch=master;protocol=https" 10SRC_URI = "git://github.com/jpbarrette/curlpp.git;branch=master;protocol=https \
11 file://0001-curlpp-config.in-Remove-references-to-absolute-build.patch"
11 12
12SRCREV = "592552a165cc569dac7674cb7fc9de3dc829906f" 13SRCREV = "592552a165cc569dac7674cb7fc9de3dc829906f"
13 14