MFC r273756,r287980:

r273756:
    only install .pc files when we are not installing 32bit compat libs...
  r287980:
    Replace beforeinstall: handling with FILES.
This commit is contained in:
Bryan Drewery 2015-10-03 16:21:53 +00:00
parent 77edfd461a
commit bf8746a675
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/stable/10/; revision=288610
3 changed files with 9 additions and 15 deletions

View File

@ -5,9 +5,7 @@ SRCS= indxbib.cpp signal.c
DPADD= ${LIBBIB} ${LIBGROFF} ${LIBM}
LDADD= ${LIBBIB} ${LIBGROFF} -lm
CLEANFILES= ${MAN}
beforeinstall:
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
${DIST_DIR}/eign ${DESTDIR}${SHAREDIR}/dict/
FILES= ${DIST_DIR}/eign
FILESDIR= ${SHAREDIR}/dict/
.include <bsd.prog.mk>

View File

@ -36,16 +36,11 @@ SRCS+= libusb10_io.c
.if defined(COMPAT_32BIT)
CFLAGS+= -DCOMPAT_32BIT
.else
FILES= libusb-0.1.pc libusb-1.0.pc libusb-2.0.pc
FILESDIR= ${LIBDATADIR}/pkgconfig
.endif
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
#
# Cross platform support
#

View File

@ -68,9 +68,10 @@ test: example minigzip
(export LD_LIBRARY_PATH=. ; \
echo hello world | ./minigzip | ./minigzip -d )
beforeinstall:
${INSTALL} -C -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
${.CURDIR}/zlib.pc ${DESTDIR}${LIBDATADIR}/pkgconfig
.ifndef COMPAT_32BIT
FILES= zlib.pc
FILESDIR= ${LIBDATADIR}/pkgconfig
.endif
.include <bsd.lib.mk>