diff options
author | Ronny (tastytea) Gutbrod <gentoo@tastytea.de> | 2023-02-17 17:34:47 +0100 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2023-02-18 00:39:45 +0100 |
commit | 83a088ef3b1f8c5714e9b77adcb1b00a07790724 (patch) | |
tree | 09c44cef4b9805844a0b81fcf2df2b790e91d169 /dev-cpp/curlpp/files/curlpp-0.8.1-fix-pkgconfig.patch | |
parent | dev-ml/atd: bump to 2.11.0 (diff) | |
download | gentoo-83a088ef3b1f8c5714e9b77adcb1b00a07790724.tar.gz gentoo-83a088ef3b1f8c5714e9b77adcb1b00a07790724.tar.bz2 gentoo-83a088ef3b1f8c5714e9b77adcb1b00a07790724.zip |
dev-cpp/curlpp: new package, add 0.8.1
Signed-off-by: Ronny (tastytea) Gutbrod <gentoo@tastytea.de>
Closes: https://github.com/gentoo/gentoo/pull/29638
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'dev-cpp/curlpp/files/curlpp-0.8.1-fix-pkgconfig.patch')
-rw-r--r-- | dev-cpp/curlpp/files/curlpp-0.8.1-fix-pkgconfig.patch | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/dev-cpp/curlpp/files/curlpp-0.8.1-fix-pkgconfig.patch b/dev-cpp/curlpp/files/curlpp-0.8.1-fix-pkgconfig.patch new file mode 100644 index 000000000000..701c81e9c43e --- /dev/null +++ b/dev-cpp/curlpp/files/curlpp-0.8.1-fix-pkgconfig.patch @@ -0,0 +1,39 @@ +# upstream commit: <https://github.com/jpbarrette/curlpp/commit/5cdb4eb> + +From 5cdb4eb7ae898bc9b81cd1a7f87986827848456a Mon Sep 17 00:00:00 2001 +From: Dale Mellor <black-hole@rdmp.org> +Date: Thu, 6 Jan 2022 18:57:23 +0000 +Subject: [PATCH] Put full paths in pkg-config specification. + +Currently, 'pkg-config --cflags curlpp' gives '-Iinclude', which is not good +enough for outside projects to link to this package. + +* extras/curlpp.pc.in: use internal variables to make the generated + specifications more precise. +--- + extras/curlpp.pc.in | 10 +++++----- + 1 file changed, 5 insertions(+), 5 deletions(-) + +diff --git a/extras/curlpp.pc.in b/extras/curlpp.pc.in +index b040ee0..e19c5b2 100644 +--- a/extras/curlpp.pc.in ++++ b/extras/curlpp.pc.in +@@ -1,13 +1,13 @@ + # This is a comment + prefix=@prefix@ +-exec_prefix=@prefix@ +-includedir=@includedir@ ++exec_prefix=${prefix} ++includedir=${prefix}/@includedir@ ++libdir=${exec_prefix}/@libdir@ + + Name: curlpp + Description: cURLpp is a libcurl C++ wrapper + Version: @VERSION@ +-Libs: -L@libdir@ -lcurlpp @LDFLAGS@ @LIBS@ +-Cflags: -I@includedir@ @CURLPP_CXXFLAGS@ ++Libs: -L${libdir} -lcurlpp @LDFLAGS@ @LIBS@ ++Cflags: -I${includedir} @CURLPP_CXXFLAGS@ + # libcurl is required as non-private because CurlHandle.inl uses curl_easy_setopt. + Requires: libcurl +- |