aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2006-05-16 06:51:46 +0800
committermarcus <marcus@FreeBSD.org>2006-05-16 06:51:46 +0800
commitb452593f053095974725e7ebf00cb3ed35523e12 (patch)
tree08a93515c7e862772a9ca046d2fdb4740a0a2772 /net
parentb1bb677546aa28923f0155d2b5499fc8aa2f7758 (diff)
downloadfreebsd-ports-gnome-b452593f053095974725e7ebf00cb3ed35523e12.tar.gz
freebsd-ports-gnome-b452593f053095974725e7ebf00cb3ed35523e12.tar.zst
freebsd-ports-gnome-b452593f053095974725e7ebf00cb3ed35523e12.zip
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>
Diffstat (limited to 'net')
-rw-r--r--net/avahi/Makefile2
-rw-r--r--net/avahi/files/patch-avahi-client.pc.in10
-rw-r--r--net/avahi/files/patch-avahi-glib.pc.in10
3 files changed, 21 insertions, 1 deletions
diff --git a/net/avahi/Makefile b/net/avahi/Makefile
index e824e6649ede..5aa6fdb0877c 100644
--- a/net/avahi/Makefile
+++ b/net/avahi/Makefile
@@ -7,7 +7,7 @@
PORTNAME= avahi
PORTVERSION= 0.6.10
-PORTREVISION?= 1
+PORTREVISION?= 2
CATEGORIES?= net dns
MASTER_SITES= http://www.avahi.org/download/
diff --git a/net/avahi/files/patch-avahi-client.pc.in b/net/avahi/files/patch-avahi-client.pc.in
new file mode 100644
index 000000000000..e980e52e0fe2
--- /dev/null
+++ b/net/avahi/files/patch-avahi-client.pc.in
@@ -0,0 +1,10 @@
+--- avahi-client.pc.in.orig Mon May 15 02:28:25 2006
++++ avahi-client.pc.in Mon May 15 02:30:08 2006
+@@ -6,5 +6,5 @@
+ Name: avahi-client
+ Description: Avahi Multicast DNS Responder (Client Support)
+ Version: @PACKAGE_VERSION@
+-Libs: -L${libdir} -lavahi-common -lavahi-client
+-Cflags: -D_REENTRANT -I${includedir}
++Libs: -L${libdir} -lavahi-common -lavahi-client @PTHREAD_LIBS@
++Cflags: -D_REENTRANT @PTHREAD_CFLAGS@ -I${includedir}
diff --git a/net/avahi/files/patch-avahi-glib.pc.in b/net/avahi/files/patch-avahi-glib.pc.in
new file mode 100644
index 000000000000..e2633c32db44
--- /dev/null
+++ b/net/avahi/files/patch-avahi-glib.pc.in
@@ -0,0 +1,10 @@
+--- 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}