Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 May 2007 10:22:27 +1100 (VLAST)
From:      Dima Panov <fluffy@ael.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/112917: net/avahi-qt3 and pkgconfig data problem
Message-ID:  <200705232322.l4NNMRop029733@ns.ael.RU>
Resent-Message-ID: <200705232330.l4NNU5s5069499@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         112917
>Category:       ports
>Synopsis:       net/avahi-qt3 and pkgconfig data problem
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 23 23:30:03 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Dima Panov
>Release:        FreeBSD 6.2-STABLE i386
>Organization:
>Environment:
System: FreeBSD ns.ael.RU 6.2-STABLE FreeBSD 6.2-STABLE #0: Sat Apr 14 11:12:17 VLAST 2007 root@ns.ael.RU:/usr/obj/usr/src/sys/AEL i386


	
>Description:
	
    net/avahi-qt3 ports installs unusable .pc file, 
    because ${PTHREAD_[CFLAGS|LIBS]} handle is missing

>How-To-Repeat:
	install net/avahi-qt3 as is and try to compile any software, which use 
    this lib (for ex., unofficial kdnssd_avahi support)

    
>Fix:

	


Index: net/avahi/files/patch-Makefile.in
===================================================================
RCS file: /home/ncvs/ports/net/avahi/files/patch-Makefile.in,v
retrieving revision 1.4
diff -u -r1.4 patch-Makefile.in
--- net/avahi/files/patch-Makefile.in	14 Oct 2006 08:35:38 -0000	1.4
+++ net/avahi/files/patch-Makefile.in	23 May 2007 23:13:13 -0000
@@ -30,7 +30,7 @@
  @ENABLE_COMPAT_LIBDNS_SD_TRUE@@HAVE_DBUS_TRUE@	    -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
  
  @HAVE_DBUS_TRUE@@HAVE_MONO_TRUE@avahi-sharp.pc: avahi-sharp.pc.in
-@@ -1082,6 +1089,8 @@ avahi-core.pc: avahi-core.pc.in
+@@ -1096,6 +1104,8 @@
  @HAVE_GLIB_TRUE@avahi-glib.pc: avahi-glib.pc.in
  @HAVE_GLIB_TRUE@	sed -e 's,@prefix\@,$(prefix),g' \
  @HAVE_GLIB_TRUE@	    -e 's,@libdir\@,$(libdir),g' \
@@ -38,4 +38,13 @@
 +@HAVE_GLIB_TRUE@	    -e 's,@PTHREAD_LIBS\@,$(PTHREAD_LIBS),g' \
  @HAVE_GLIB_TRUE@	    -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
  
+ @HAVE_DBUS_TRUE@@HAVE_GTK_TRUE@avahi-ui.pc: avahi-ui.pc.in
+@@ -1106,6 +1116,8 @@
  @HAVE_QT3_TRUE@avahi-qt3.pc: avahi-qt3.pc.in
+ @HAVE_QT3_TRUE@	sed -e 's,@prefix\@,$(prefix),g' \
+ @HAVE_QT3_TRUE@	    -e 's,@libdir\@,$(libdir),g' \
++@HAVE_QT3_TRUE@	    -e 's,@PTHREAD_CFLAGS\@,$(PTHREAD_CFLAGS),g' \
++@HAVE_QT3_TRUE@	    -e 's,@PTHREAD_LIBS\@,$(PTHREAD_LIBS),g' \
+ @HAVE_QT3_TRUE@	    -e 's,@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g' $< > $@
+ 
+ @HAVE_QT4_TRUE@avahi-qt4.pc: avahi-qt4.pc.in
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200705232322.l4NNMRop029733>