add PKGCONFIGDIR to the makefiles

This allows pkgconfig files to be stored in /usr even if PREFIX is /.
This commit is contained in:
William Hubbs 2021-03-21 17:41:58 -05:00
parent 5058b6668c
commit fccd37c34c
2 changed files with 2 additions and 1 deletions

View File

@ -54,6 +54,7 @@ LIBDIR?= ${UPREFIX}/${LIBNAME}
LIBMODE?= 0644
LIBEXECDIR?= ${PREFIX}/libexec/rc
PKGCONFIGDIR?= ${UPREFIX}/${LIBNAME}/pkgconfig
MANPREFIX?= ${UPREFIX}/share
MANDIR?= ${MANPREFIX}/man

View File

@ -1,4 +1,4 @@
DIR= ${LIBDIR}/pkgconfig
DIR= ${PKGCONFIGDIR}
SRCS= einfo.pc.in openrc.pc.in
INC= einfo.pc openrc.pc