diff options
author | William Hubbs <w.d.hubbs@gmail.com> | 2021-03-21 17:41:58 -0500 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2021-03-21 17:41:58 -0500 |
commit | fccd37c34cbabe77d701316491b899a0eb529114 (patch) | |
tree | 193740d688be7073bfda75641aabacd132706b26 | |
parent | 5058b6668caaa1ac019d6da299528ad0c75379c2 (diff) |
add PKGCONFIGDIR to the makefiles
This allows pkgconfig files to be stored in /usr even if PREFIX is /.
-rw-r--r-- | mk/sys.mk | 1 | ||||
-rw-r--r-- | pkgconfig/Makefile | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -54,6 +54,7 @@ LIBDIR?= ${UPREFIX}/${LIBNAME} LIBMODE?= 0644 LIBEXECDIR?= ${PREFIX}/libexec/rc +PKGCONFIGDIR?= ${UPREFIX}/${LIBNAME}/pkgconfig MANPREFIX?= ${UPREFIX}/share MANDIR?= ${MANPREFIX}/man diff --git a/pkgconfig/Makefile b/pkgconfig/Makefile index 4bf28cfb..80514d6a 100644 --- a/pkgconfig/Makefile +++ b/pkgconfig/Makefile @@ -1,4 +1,4 @@ -DIR= ${LIBDIR}/pkgconfig +DIR= ${PKGCONFIGDIR} SRCS= einfo.pc.in openrc.pc.in INC= einfo.pc openrc.pc |