* [gentoo-commits] gentoo-x86 commit in sci-geosciences/gpsd/files: 2.96-pkgconfig.patch
@ 2011-05-16 11:07 Diego Petteno (flameeyes)
0 siblings, 0 replies; only message in thread
From: Diego Petteno (flameeyes) @ 2011-05-16 11:07 UTC (permalink / raw
To: gentoo-commits
flameeyes 11/05/16 11:07:47
Added: 2.96-pkgconfig.patch
Log:
Fix pkg-config usage.
(Portage version: 2.2.0_alpha33/cvs/Linux x86_64)
Revision Changes Path
1.1 sci-geosciences/gpsd/files/2.96-pkgconfig.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-geosciences/gpsd/files/2.96-pkgconfig.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-geosciences/gpsd/files/2.96-pkgconfig.patch?rev=1.1&content-type=text/plain
Index: 2.96-pkgconfig.patch
===================================================================
Index: gpsd-2.96/configure.ac
===================================================================
--- gpsd-2.96.orig/configure.ac
+++ gpsd-2.96/configure.ac
@@ -687,12 +687,7 @@ AC_MSG_CHECKING([for BlueZ support])
if test x"$ac_bluetooth" = x"yes"; then
AC_MSG_RESULT([yes])
AC_DEFINE(HAVE_BLUEZ,1,[Define if we have Bluez])
- # Older versions of autotools barf and die on this.
- #PKG_CHECK_MODULES(BLUEZ, bluez )
- BLUEZ_CFLAGS=`pkg-config --cflags bluez`
- BLUEZ_LIBS=`pkg-config --libs bluez`
- AC_SUBST(BLUEZ_CFLAGS)
- AC_SUBST(BLUEZ_LIBS)
+ PKG_CHECK_MODULES(BLUEZ, bluez )
else
AC_MSG_RESULT([no])
fi
@@ -709,16 +704,8 @@ AC_MSG_CHECKING([for DBUS support])
if test x"$ac_dbus" = "xyes"; then
AC_MSG_RESULT([yes])
AC_DEFINE([DBUS_ENABLE], 1, [DBUS support])
- # Older versions of autotools barf and die on this.
- #PKG_CHECK_MODULES(DBUS, dbus-1 >= 0.23.4 )
- DBUS_CFLAGS=`pkg-config --cflags dbus-glib-1`
- DBUS_LIBS=`pkg-config --libs dbus-1`
- AC_SUBST(DBUS_CFLAGS)
- AC_SUBST(DBUS_LIBS)
- #PKG_CHECK_MODULES(DBUS_GLIB, dbus-glib-1 >= 0.22 )
- DBUS_GLIB_LIBS=`pkg-config --libs dbus-glib-1`
- AC_SUBST(DBUS_GLIB_CFLAGS)
- AC_SUBST(DBUS_GLIB_LIBS)
+ PKG_CHECK_MODULES(DBUS, dbus-1 >= 0.23.4 )
+ PKG_CHECK_MODULES(DBUS_GLIB, dbus-glib-1 >= 0.22 )
else
AC_MSG_RESULT([no])
fi
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-05-16 11:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-16 11:07 [gentoo-commits] gentoo-x86 commit in sci-geosciences/gpsd/files: 2.96-pkgconfig.patch Diego Petteno (flameeyes)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox