Re: Make the pkgconfig file of Guile relocatable.

2022-10-12 Thread Ludovic Courtès
Hi, Zhu Zihao skribis: > My idea is change the definition of sitedir, siteccachedir, extensiondir > use the variable substition of pkg-config instead of autotools. > > For example > > sitedir=${datadir}/guile/site/@GUILE_EFFECTIVE_VERSION@ >

Re: Make the pkgconfig file of Guile relocatable.

2022-02-27 Thread Nala Ginrut
hi Zihao! I think the substitution is OK. But if you want to package for Guix, you need to go Guix way. Guix package has made a similar approach, for example, you may check "guix edit artanis" to see how it substitutes the dir for Artanis. Best regards. On Mon, Feb 28, 2022 at 12:27 AM Zhu

Make the pkgconfig file of Guile relocatable.

2022-02-27 Thread Zhu Zihao
Currently, the guile-3.0.pc.in in 'meta' use the variable substitution directly. prefix=@prefix@ exec_prefix=@exec_prefix@ bindir=@bindir@ libdir=@libdir@ includedir=@includedir@ datarootdir=@datarootdir@ datadir=@datadir@ pkgdatadir=@datadir@/guile pkgincludedir=@includedir@/guile