Hi Kei, guix-comm...@gnu.org skribis:
> commit 83afa4e9a6aa4dc69f86651d795007dc96a31e64 > Author: Kei Kebreau <kkebr...@posteo.net> > AuthorDate: Sun Aug 2 16:54:03 2020 -0400 > > gnu: libmad: Install pkg-config file. > > * gnu/packages/mp3.scm (libmad)[arguments]: Add 'install-pkg-config phase. [...] > + (add-after 'install 'install-pkg-config > + (lambda* (#:key outputs #:allow-other-keys) > + (let* ((out (assoc-ref outputs "out")) > + (pkg-config-dir (string-append out "/lib/pkgconfig"))) > + (mkdir-p pkg-config-dir) > + (with-output-to-file (string-append pkg-config-dir "/mad.pc") > + (lambda _ > + (format #t > + "prefix=~@*~a~@ > + libdir=${prefix}/lib~@ It seems to me that we shouldn’t provide .pc files if upstream doesn’t do it. The main reason is that developers who use Guix will come to rely on it and unknowingly write code that doesn’t work on other distros. (I remember pestering in the past as I stumbled upon packages who depended on some library as packaged by a specific distro. :-)) WDYT? Apologies if I missed an earlier discussion! Ludo’.