ports/118639: Fix avahi-qt4 to handle ${PTHREAD_LIBS}

Dima Panov fluffy at fluffy.khv.ru
Thu Dec 13 04:20:02 UTC 2007


>Number:         118639
>Category:       ports
>Synopsis:       Fix avahi-qt4 to handle ${PTHREAD_LIBS}
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 13 04:20:01 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator:     Dima Panov
>Release:        FreeBSD 8.0-800006-CURRENT i386
>Organization:
>Environment:


System: FreeBSD 8.0-800006-CURRENT #1: Tue Dec 11 03:15:18 VLAT 2007
    root at Fluffy.Khv.RU:/usr/obj/usr/src/sys/Spot



>Description:


Current port of net/avahi-qt4 doesn't handle ${PTHREAD_LIBS} correctly, ad avahi-qt3 does.. 
Needs to patch avahi-qt4.pc.in in same way as avahi-qt3.pc.in


>How-To-Repeat:





>Fix:


--- avahi-app.diff begins here ---
diff -urN avahi-app.orig/files/patch-avahi-qt4.pc.in avahi-app/files/patch-avahi-qt4.pc.in
--- net/avahi-app.orig/files/patch-avahi-qt4.pc.in	1970-01-01 10:00:00.000000000 +1000
+++ net/avahi-app/files/patch-avahi-qt4.pc.in	2007-10-28 12:10:25.000000000 +1000
@@ -0,0 +1,10 @@
+--- avahi-qt4.pc.in.orig	2006-01-23 07:15:20.000000000 +1000
++++ avahi-qt4.pc.in	2007-10-28 12:10:17.000000000 +1000
+@@ -7,5 +7,5 @@
+ Description: Avahi Multicast DNS Responder (QT4 Support)
+ Version: @PACKAGE_VERSION@
+ Requires.private: QtCore >= 4.0.0
+-Libs: -L${libdir} -lavahi-qt4
+-Cflags: -D_REENTRANT -I${includedir}
++Libs: -L${libdir} -lavahi-qt4 @PTHREAD_LIBS@
++Cflags: -D_REENTRANT @PTHREAD_CFLAGS@ -I${includedir}
--- avahi-app.diff ends here ---



>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list