freebsd-ports/net/avahi/files/patch-avahi-glib.pc.in
Joe Marcus Clarke e86390918c Add PTHREAD_{CFLAGS,LIBS} to all avahi pkg-config files. This fixes
xmms2 builds, among others.

PR:		97295
Submitted by:	Alexander Botero-Lowry <alex@foxybanana.com>
2006-05-15 22:51:46 +00:00

10 lines
392 B
PkgConfig

--- avahi-glib.pc.in.orig Mon May 15 02:31:01 2006
+++ avahi-glib.pc.in Mon May 15 02:31:25 2006
@@ -7,5 +7,5 @@
Description: Avahi Multicast DNS Responder (GLib Support)
Version: @PACKAGE_VERSION@
Requires: glib-2.0
-Libs: -L${libdir} -lavahi-glib
-Cflags: -D_REENTRANT -I${includedir}
+Libs: -L${libdir} -lavahi-glib @PTHREAD_LIBS@
+Cflags: -D_REENTRANT @PTHREAD_CFLAGS@ -I${includedir}