From 45473795cdac9120c84b73641033247e7d7dd732 Mon Sep 17 00:00:00 2001 From: PktSurf Date: Sun, 2 Apr 2023 09:10:24 +0530 Subject: [PATCH] Added /share/pkgconfig as an alternate lookup path in addition to --docdir in base/pkgconf --- base/pkgconf/pkgconf.SMBuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/base/pkgconf/pkgconf.SMBuild b/base/pkgconf/pkgconf.SMBuild index b927967..c77586d 100755 --- a/base/pkgconf/pkgconf.SMBuild +++ b/base/pkgconf/pkgconf.SMBuild @@ -1,6 +1,6 @@ app=pkgconf version=1.7.3 -build=2sml +build=3sml homepage="https://git.sr.ht/~kaniini/pkgconf" download="https://distfiles.dereferenced.org/pkgconf/pkgconf-$version.tar.xz" desc="Drop-in replacement for the bloated pkg-config utility" @@ -18,8 +18,9 @@ prepbuilddir() { build() { ./configure \ --prefix="" \ + --docdir="/share/doc/$app-$version" \ --disable-static \ - --with-pkg-config-dir=/lib/pkgconfig + --with-pkg-config-dir="/lib/pkgconfig:/share/pkgconfig" make make install DESTDIR=$pkg