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:
parent
8a84b3736b
commit
500f4659d7
@ -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 ; \
|
||||
|
@ -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>
|
||||
|
@ -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
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user