1.9.11 ffi reference bug

Greg Troxel <[email protected]> Thu, 19 Feb 2009 20:11:21 -0500
Newsgroups gmane.lisp.guile.gtk,gmane.comp.programming.g-wrap.devel
Message-ID <[email protected]>
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

_______________________________________________
guile-gtk-general mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/guile-gtk-general
signature.asc (application/pgp-signature, 193 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (NetBSD)

iEYEARECAAYFAkmeAzkACgkQ+vesoDJhHiUOJQCeL5ZUK7BJ15daGJB2+wJfnPDT
broAnAnDyWNylUJUCyjb4c47tomb6vzO
=MLJk
-----END PGP SIGNATURE-----