pygobject r1065 - trunk



Author: paulp
Date: Tue Apr 14 21:19:27 2009
New Revision: 1065
URL: http://svn.gnome.org/viewvc/pygobject?rev=1065&view=rev

Log:
2009-04-15  GÃtz Waschk  <waschk mandriva org>

	Bug 550231 â missing dep on libffi in pygobject-2.0.pc

	* configure.ac: Define `LIBFFI_PC' subst.

	* pygobject-2.0.pc.in:
	* pygobject-2.0-uninstalled.pc.in: Use it.


Modified:
   trunk/ChangeLog
   trunk/configure.ac
   trunk/pygobject-2.0-uninstalled.pc.in
   trunk/pygobject-2.0.pc.in

Modified: trunk/configure.ac
==============================================================================
--- trunk/configure.ac	(original)
+++ trunk/configure.ac	Tue Apr 14 21:19:27 2009
@@ -169,11 +169,13 @@
 fi
 if test x"$have_libffi" = xyes; then
   AC_DEFINE(HAVE_FFI_H,1,[Have libffi include files])
+  LIBFFI_PC=libffi
 fi
 AC_MSG_RESULT([$have_libffi])
 AM_CONDITIONAL(HAVE_LIBFFI, test "$have_libffi" = "yes")
 AC_SUBST(FFI_CFLAGS)
 AC_SUBST(FFI_LIBS)
+AC_SUBST(LIBFFI_PC)
 
 dnl gio
 PKG_CHECK_MODULES(GIO, gio-2.0 >= gio_required_version,

Modified: trunk/pygobject-2.0-uninstalled.pc.in
==============================================================================
--- trunk/pygobject-2.0-uninstalled.pc.in	(original)
+++ trunk/pygobject-2.0-uninstalled.pc.in	Tue Apr 14 21:19:27 2009
@@ -1,8 +1,7 @@
 Name: PyGObject
 Description: Python bindings for GObject
-Requires: gobject-2.0
+Requires: gobject-2.0 @LIBFFI_PC@
 Version: @VERSION@
-Libs: @FFI_LIBS@
 Cflags: -I${pc_top_builddir}/${pcfiledir}/gobject
 
 # you can use the --variable=pygtkincludedir argument to

Modified: trunk/pygobject-2.0.pc.in
==============================================================================
--- trunk/pygobject-2.0.pc.in	(original)
+++ trunk/pygobject-2.0.pc.in	Tue Apr 14 21:19:27 2009
@@ -16,7 +16,6 @@
 
 Name: PyGObject
 Description: Python bindings for GObject
-Requires: gobject-2.0
+Requires: gobject-2.0 @LIBFFI_PC@
 Version: @VERSION@
-Libs: -L${libdir} @FFI_LIBS@
 Cflags: -I${pygtkincludedir}



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