diff options
| author | Bryan Drewery <bdrewery@FreeBSD.org> | 2015-09-18 23:49:32 +0000 |
|---|---|---|
| committer | Bryan Drewery <bdrewery@FreeBSD.org> | 2015-09-18 23:49:32 +0000 |
| commit | de0e3997d9f8f1d857da7e9c179548dbf294ebcf (patch) | |
| tree | 92732628620a56a8f192cc701136a350dd021f7c /lib | |
| parent | 76e11fbdfcb3c09bb413a8832ef7fc1f06ba61ce (diff) | |
Notes
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/liblzma/Makefile | 12 | ||||
| -rw-r--r-- | lib/libusb/Makefile | 13 | ||||
| -rw-r--r-- | lib/libz/Makefile | 5 |
3 files changed, 9 insertions, 21 deletions
diff --git a/lib/liblzma/Makefile b/lib/liblzma/Makefile index 39b929fd1f80..8a6c23d84d1d 100644 --- a/lib/liblzma/Makefile +++ b/lib/liblzma/Makefile @@ -154,10 +154,11 @@ CFLAGS+= -DSYMBOL_VERSIONING CLEANFILES+= liblzma.pc -.if !defined(LIBRARIES_ONLY) -all: liblzma.pc +FILES= liblzma.pc +FILESDIR= ${LIBDATADIR}/pkgconfig + liblzma.pc: liblzma.pc.in - @sed -e 's,@prefix@,/usr,g ; \ + sed -e 's,@prefix@,/usr,g ; \ s,@exec_prefix@,/usr,g ; \ s,@libdir@,/usr/lib,g ; \ s,@includedir@,/usr/include,g ; \ @@ -166,9 +167,4 @@ liblzma.pc: liblzma.pc.in s,@PTHREAD_CFLAGS@,,g ; \ s,@PTHREAD_LIBS@,,g' ${.ALLSRC} > ${.TARGET} -beforeinstall: - @${INSTALL} -C -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ - liblzma.pc ${DESTDIR}${LIBDATADIR}/pkgconfig -.endif - .include <bsd.lib.mk> diff --git a/lib/libusb/Makefile b/lib/libusb/Makefile index 6560f8f0b231..25d886a5c454 100644 --- a/lib/libusb/Makefile +++ b/lib/libusb/Makefile @@ -35,16 +35,9 @@ SRCS+= libusb10_io.c .if defined(COMPAT_32BIT) CFLAGS+= -DCOMPAT_32BIT -.endif - -.ifndef COMPAT_32BIT -beforeinstall: - ${INSTALL} -C -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ - ${.CURDIR}/libusb-0.1.pc ${DESTDIR}${LIBDATADIR}/pkgconfig - ${INSTALL} -C -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ - ${.CURDIR}/libusb-1.0.pc ${DESTDIR}${LIBDATADIR}/pkgconfig - ${INSTALL} -C -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ - ${.CURDIR}/libusb-2.0.pc ${DESTDIR}${LIBDATADIR}/pkgconfig +.else +FILES= libusb-0.1.pc libusb-1.0.pc libusb-2.0.pc +FILESDIR= ${LIBDATADIR}/pkgconfig .endif # diff --git a/lib/libz/Makefile b/lib/libz/Makefile index 1f9bb72bc527..aed4ee3828c6 100644 --- a/lib/libz/Makefile +++ b/lib/libz/Makefile @@ -69,9 +69,8 @@ test: example minigzip echo hello world | ./minigzip | ./minigzip -d ) .ifndef COMPAT_32BIT -beforeinstall: - ${INSTALL} -C -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ - ${.CURDIR}/zlib.pc ${DESTDIR}${LIBDATADIR}/pkgconfig +FILES= zlib.pc +FILESDIR= ${LIBDATADIR}/pkgconfig .endif .include <bsd.lib.mk> |
