From 8456df6019b64bcbac81a7f8ffa4beb873ee4c2a Mon Sep 17 00:00:00 2001 From: Alexander Bluhm Date: Fri, 23 Oct 2026 20:30:27 +0200 Subject: [PATCH] Switch GNU build from pkgconf to pkg-config The modern tool is pkgconf which contains backwards compatible pkg-config on many platforms. On Slackware the situation is a bit different. It ships pkg-config in the base system and pkgconf in SlackBuilds. Idea is to use the pkg-config program which is the original pkg-config in Slackware 15.0 and points to pkgconf on all other systems. Then we do not need pkgconf from SlackBuilds anymore. If Slackware switches to pkgconf in a future version, pkg-config will point to pkgconf there too. --- GNUmakefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GNUmakefile b/GNUmakefile index e2e942c..bb7e76e 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -1,6 +1,6 @@ CFLAGS+= -D_DEFAULT_SOURCE -D_GNU_SOURCE -Wall \ - $(shell pkgconf --cflags libbsd-overlay) -LDFLAGS+= $(shell pkgconf --libs libbsd-overlay) + $(shell pkg-config --cflags libbsd-overlay) +LDFLAGS+= $(shell pkg-config --libs libbsd-overlay) BINDIR?= /usr/local/bin MANDIR?= /usr/local/man/man