g-wrap-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

1.9.11 ffi reference bug


From: Greg Troxel
Subject: 1.9.11 ffi reference bug
Date: Thu, 19 Feb 2009 20:11:21 -0500
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.3 (berkeley-unix)

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: pgpbIvyifxyVb.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]