Convert libs with pc files to use PCFILES

Now the .pc ends up in the correct package (-dev)

Reviewed by:	bapt, emaste
Differential Revision:	https://reviews.freebsd.org/D29172
MFC after:      2 weeks
This commit is contained in:
Emmanuel Vadot 2021-03-16 07:13:07 +01:00
parent 8a84b3736b
commit 500f4659d7
4 changed files with 4 additions and 8 deletions

View File

@ -154,8 +154,7 @@ CFLAGS+= -DSYMBOL_VERSIONING
CLEANFILES+= liblzma.pc
FILES= liblzma.pc
FILESDIR= ${LIBDATADIR}/pkgconfig
PCFILES= liblzma.pc
liblzma.pc: liblzma.pc.in
sed -e 's,@prefix@,/usr,g ; \

View File

@ -86,7 +86,6 @@ ${inc}: ${inc}.in
sed -e 's,X.YY,${FILEVER:S,",,g:S,.,,g},g' ${.ALLSRC} > ${.TARGET}
.endfor
FILES+= libmagic.pc
FILESDIR_libmagic.pc= ${LIBDATADIR}/pkgconfig
PCFILES= libmagic.pc
.include <bsd.lib.mk>

View File

@ -38,8 +38,7 @@ SRCS+= libusb10_io.c
CFLAGS+= -DCOMPAT_32BIT
.endif
FILES= libusb-0.1.pc libusb-1.0.pc libusb-2.0.pc
FILESDIR= ${LIBDATADIR}/pkgconfig
PCFILES= libusb-0.1.pc libusb-1.0.pc libusb-2.0.pc
#
# Cross platform support

View File

@ -75,7 +75,6 @@ test: example minigzip
(export LD_LIBRARY_PATH=. ; \
echo hello world | ./minigzip | ./minigzip -d )
FILES= zlib.pc
FILESDIR= ${LIBDATADIR}/pkgconfig
PCFILES= zlib.pc
.include <bsd.lib.mk>