mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-27 09:12:44 +00:00
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:
parent
77edfd461a
commit
bf8746a675
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/stable/10/; revision=288610
@ -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>
|
||||
|
@ -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
|
||||
#
|
||||
|
@ -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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user