diff options
author | Alex Richardson <arichardson@FreeBSD.org> | 2022-08-11 22:17:52 +0000 |
---|---|---|
committer | Alex Richardson <arichardson@FreeBSD.org> | 2022-08-11 22:18:34 +0000 |
commit | ac175bd33a21b7f357cffe37117dc5afa6d7c5fb (patch) | |
tree | 236439ab1b8910506559b382dc1997da8b4f3c75 /lib/liblzma | |
parent | 92b5b97cb089677df5f2c72ab8fb44a34fd21ae9 (diff) | |
download | src-ac175bd33a21b7f357cffe37117dc5afa6d7c5fb.tar.gz src-ac175bd33a21b7f357cffe37117dc5afa6d7c5fb.zip |
Install working pkgconfig .pc files for compat libraries
The default ones are install them to /usr/libdata/pkgconfig, and we can't
use this path for compat libraries, so we use /usr/lib<suffix>/pkgconfigi here.
Test Plan: grep -rn libdir= ./usr/lib32/pkgconfig/*.pc
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D34939
Diffstat (limited to 'lib/liblzma')
-rw-r--r-- | lib/liblzma/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/liblzma/Makefile b/lib/liblzma/Makefile index 4f38ef391e4a..0bdcc6af5ddc 100644 --- a/lib/liblzma/Makefile +++ b/lib/liblzma/Makefile @@ -159,8 +159,9 @@ PCFILES= liblzma.pc liblzma.pc: liblzma.pc.in sed -e 's,@prefix@,/usr,g ; \ s,@exec_prefix@,/usr,g ; \ - s,@libdir@,/usr/lib,g ; \ - s,@includedir@,/usr/include,g ; \ + s,@libdir@,${LIBDIR},g ; \ + s,@sharedlibdir@,${SHLIBDIR},g ; \ + s,@includedir@,${INCLUDEDIR},g ; \ s,@LIBS@,-pthread -lmd,g ; \ s,@PACKAGE_URL@,https://tukaani.org/xz/,g ; \ s,@PACKAGE_VERSION@,${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH},g ; \ |