aboutsummaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2021-03-21 17:41:58 -0500
committerWilliam Hubbs <w.d.hubbs@gmail.com>2021-03-21 17:41:58 -0500
commitfccd37c34cbabe77d701316491b899a0eb529114 (patch)
tree193740d688be7073bfda75641aabacd132706b26 /mk
parent5058b6668caaa1ac019d6da299528ad0c75379c2 (diff)
add PKGCONFIGDIR to the makefiles
This allows pkgconfig files to be stored in /usr even if PREFIX is /.
Diffstat (limited to 'mk')
-rw-r--r--mk/sys.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/mk/sys.mk b/mk/sys.mk
index 40d1367b..06189075 100644
--- a/mk/sys.mk
+++ b/mk/sys.mk
@@ -54,6 +54,7 @@ LIBDIR?= ${UPREFIX}/${LIBNAME}
LIBMODE?= 0644
LIBEXECDIR?= ${PREFIX}/libexec/rc
+PKGCONFIGDIR?= ${UPREFIX}/${LIBNAME}/pkgconfig
MANPREFIX?= ${UPREFIX}/share
MANDIR?= ${MANPREFIX}/man