mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-12 14:29:28 +00:00
Replace beforeinstall: handling with FILES.
This actually fixes some cases to respect LIBRARIES_ONLY. Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
parent
76e11fbdfc
commit
de0e3997d9
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=287980
@ -5,9 +5,7 @@ SRCS= indxbib.cpp signal.c
|
|||||||
DPADD= ${LIBBIB} ${LIBGROFF} ${LIBM}
|
DPADD= ${LIBBIB} ${LIBGROFF} ${LIBM}
|
||||||
LDADD= ${LIBBIB} ${LIBGROFF} -lm
|
LDADD= ${LIBBIB} ${LIBGROFF} -lm
|
||||||
CLEANFILES= ${MAN}
|
CLEANFILES= ${MAN}
|
||||||
|
FILES= ${DIST_DIR}/eign
|
||||||
beforeinstall:
|
FILESDIR= ${SHAREDIR}/dict/
|
||||||
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
|
|
||||||
${DIST_DIR}/eign ${DESTDIR}${SHAREDIR}/dict/
|
|
||||||
|
|
||||||
.include <bsd.prog.mk>
|
.include <bsd.prog.mk>
|
||||||
|
@ -154,10 +154,11 @@ CFLAGS+= -DSYMBOL_VERSIONING
|
|||||||
|
|
||||||
CLEANFILES+= liblzma.pc
|
CLEANFILES+= liblzma.pc
|
||||||
|
|
||||||
.if !defined(LIBRARIES_ONLY)
|
FILES= liblzma.pc
|
||||||
all: liblzma.pc
|
FILESDIR= ${LIBDATADIR}/pkgconfig
|
||||||
|
|
||||||
liblzma.pc: liblzma.pc.in
|
liblzma.pc: liblzma.pc.in
|
||||||
@sed -e 's,@prefix@,/usr,g ; \
|
sed -e 's,@prefix@,/usr,g ; \
|
||||||
s,@exec_prefix@,/usr,g ; \
|
s,@exec_prefix@,/usr,g ; \
|
||||||
s,@libdir@,/usr/lib,g ; \
|
s,@libdir@,/usr/lib,g ; \
|
||||||
s,@includedir@,/usr/include,g ; \
|
s,@includedir@,/usr/include,g ; \
|
||||||
@ -166,9 +167,4 @@ liblzma.pc: liblzma.pc.in
|
|||||||
s,@PTHREAD_CFLAGS@,,g ; \
|
s,@PTHREAD_CFLAGS@,,g ; \
|
||||||
s,@PTHREAD_LIBS@,,g' ${.ALLSRC} > ${.TARGET}
|
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>
|
.include <bsd.lib.mk>
|
||||||
|
@ -35,16 +35,9 @@ SRCS+= libusb10_io.c
|
|||||||
|
|
||||||
.if defined(COMPAT_32BIT)
|
.if defined(COMPAT_32BIT)
|
||||||
CFLAGS+= -DCOMPAT_32BIT
|
CFLAGS+= -DCOMPAT_32BIT
|
||||||
.endif
|
.else
|
||||||
|
FILES= libusb-0.1.pc libusb-1.0.pc libusb-2.0.pc
|
||||||
.ifndef COMPAT_32BIT
|
FILESDIR= ${LIBDATADIR}/pkgconfig
|
||||||
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
|
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -69,9 +69,8 @@ test: example minigzip
|
|||||||
echo hello world | ./minigzip | ./minigzip -d )
|
echo hello world | ./minigzip | ./minigzip -d )
|
||||||
|
|
||||||
.ifndef COMPAT_32BIT
|
.ifndef COMPAT_32BIT
|
||||||
beforeinstall:
|
FILES= zlib.pc
|
||||||
${INSTALL} -C -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
|
FILESDIR= ${LIBDATADIR}/pkgconfig
|
||||||
${.CURDIR}/zlib.pc ${DESTDIR}${LIBDATADIR}/pkgconfig
|
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.include <bsd.lib.mk>
|
.include <bsd.lib.mk>
|
||||||
|
Loading…
Reference in New Issue
Block a user