I am trying to get guile-gnome-platform 0.16.1 to build on NetBSD via
pkgsrc.  g-wrap 1.9.11 has g-wrap-2.0-guile.pc.in which contains:

Libs: -L${libdir} -lgwrap-guile-runtime -lgwrap-core-runtime @GUILE_LDFLAGS@ 
@LIBFFI_LIBS_INSTALLED@
Cflags: @STD_CFLAGS@ -I${includedir} @GUILE_CFLAGS@ @LIBFFI_CFLAGS_INSTALLED@

This seems buggy for two reasons:

1) the _INSTALLED variant of LIBFFI_CFLAGS is not substituted by configure:

gdt 276 /usr/pkgsrc/devel/g-wrap/work/g-wrap-1.9.11/guile > egrep LIBFFI_CFL 
../config.status 
s,@LIBFFI_CFLAGS@,|#_!!_#|-I/usr/pkg/include  ,g

2) libffi is a dependency, so the .pc file should just use the normal
dependency mechanism.

Is anyone else seeing this problem?

gdt 279 /usr/pkgsrc/devel/g-wrap/work/g-wrap-1.9.11/guile > pkg-config 
g-wrap-2.0-guile --cflags
-std=gnu99 -pthread @LIBFFI_CFLAGS_INSTALLED@ -I/usr/pkg/include  
gdt 280 /usr/pkgsrc/devel/g-wrap/work/g-wrap-1.9.11/guile > pkg-config 
g-wrap-2.0-guile --libs
-I/usr/pkg/include -pthread -Wl,-R/usr/pkg/lib @LIBFFI_LIBS_INSTALLED@ 
-L/usr/pkg/lib -lgwrap-guile-runtime -lgwrap-core-runtime -lguile -lgmp -lcrypt 
-lm -lltdl  

Attachment: pgpvz25EGugjo.pgp
Description: PGP signature

_______________________________________________
g-wrap-dev mailing list
g-wrap-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/g-wrap-dev

Reply via email to