git: d48fab59daa5 - main - devel/pkgconf: accept share/pkgconfig
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 29 Jul 2022 07:47:13 UTC
The branch main has been updated by bapt:
URL: https://cgit.FreeBSD.org/ports/commit/?id=d48fab59daa56e0b3b6ffecef57a69c32ae9c0a7
commit d48fab59daa56e0b3b6ffecef57a69c32ae9c0a7
Author: Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2022-07-29 07:39:44 +0000
Commit: Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2022-07-29 07:47:12 +0000
devel/pkgconf: accept share/pkgconfig
Since pkg-config then pkgconf was introduced, we as a project decided
the lib/pkgconfig was not suitable and moved all .pc files and installed
them into libdata/pkconfig instead.
This concerns the .pc file referring to potentially architecture dependant
information.
One thing that has been missed was that there may be some arch independant
.pc files only (like headers only libraries for example etc) then in
pkg-config but also in pkgconf it has been advertise to use share/pkgconfig
for those specific files. As this matches what hier(7) says about "share",
let's accept that in the default search path as well.
Reported by: Andrea Pappacoda <andrea@pappacoda.it>
---
devel/pkgconf/Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/devel/pkgconf/Makefile b/devel/pkgconf/Makefile
index fea397fb66f6..3fb914c26fbc 100644
--- a/devel/pkgconf/Makefile
+++ b/devel/pkgconf/Makefile
@@ -1,5 +1,6 @@
PORTNAME= pkgconf
PORTVERSION= 1.8.0
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= devel
MASTER_SITES= https://distfiles.dereferenced.org/pkgconf/ \
@@ -20,7 +21,7 @@ GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
TEST_TARGET= check
-CONFIGURE_ARGS= --with-pkg-config-dir=${PREFIX}/libdata/pkgconfig:/usr/libdata/pkgconfig \
+CONFIGURE_ARGS= --with-pkg-config-dir=${PREFIX}/libdata/pkgconfig:/usr/libdata/pkgconfig:${PREFIX}/share/pkgconfig \
--with-system-libdir=/usr/lib \
--with-system-includedir=/usr/include
MAKE_ARGS= MANDIR="${MAN1PREFIX}/man/man1"