guru/dev-libs/libchardet/files/libchardet-1.0.6-pkgconfig.patch
Alexey Sokolov 87b8058656
dev-libs/libchardet: new package, add 1.0.6
Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org>
2024-07-05 18:26:02 +01:00

11 lines
321 B
Diff

Don't copy CFLAGS from portage's make.conf to .pc
--- a/chardet.pc.in
+++ b/chardet.pc.in
@@ -9,4 +9,4 @@ Name: @PACKAGE_NAME@
Description: Mozilla's Universal Charset Detector C/C++ API
Version: @PACKAGE_VERSION@
Libs: -L${libdir} -lchardet
-Cflags: -I${includedir}/chardet @CFLAGS@
+Cflags: -I${includedir}/chardet