Hi,

pkgconf ignores X11BASE by default, leading to... issues, in at least
one port that prefers pkgconf over pkg-config if installed.

This updates pkgconf to search the same directories as our
/usr/bin/pkg-config does by default.

After sorting and stripping whitespace, "pkg-config --list-all" and
"pkgconf --list-all" now have the same output.

ok?

Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/pkgconf/Makefile,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 Makefile
--- Makefile    11 Mar 2018 22:34:40 -0000      1.1.1.1
+++ Makefile    30 Mar 2019 12:06:36 -0000
@@ -3,6 +3,7 @@
 COMMENT =              package compiler and linker metadata toolkit
 
 DISTNAME =             pkgconf-1.4.2
+REVISION =             0
 
 SHARED_LIBS +=         pkgconf 0.0     # 3.0
 
@@ -23,6 +24,7 @@ TEST_DEPENDS =                devel/kyua-cli
 
 SEPARATE_BUILD =       Yes
 CONFIGURE_STYLE =      gnu
+CONFIGURE_ARGS =       
--with-pkg-config-dir=/usr/lib/pkgconfig:${LOCALBASE}/lib/pkgconfig:${LOCALBASE}/share/pkgconfig:${X11BASE}/lib/pkgconfig:${X11BASE}/share/pkgconfig
 
 PORTHOME =             ${WRKDIR}
 

Reply via email to