Subject: Re: work directories in qt4-libs pkgconfig files
To: None <adam@NetBSD.org, pkgsrc-users@NetBSD.org>
From: None <reed@reedmedia.net>
List: pkgsrc-users
Date: 12/01/2007 20:43:53
On Sat, 1 Dec 2007, reed@reedmedia.net wrote:

> Anyways, I looked at the Qt*.pc files and they had many references to work 
> files. Like /usr/pkg/lib/pkgconfig/Qt3Support.pc has:
...

> (I never had this problem when I updated my lyx to uses qt4 a 
> couple months ago. I was planning to commit the lyx update but it failed 
> this time.)

I realize I never saw this before on my system, because I got my qt4 
packages from someone else. Nevertheless, someone else building qt4 had 
the same problem as me. I forwarded his problem to pkgsrc-users in 
October:

http://mail-index.netbsd.org/pkgsrc-users/2007/10/19/0010.html

Note the package installs so maybe others never noticed. If you have 
installed qt4-libs please have a look at the lib/pkgconfig/Qt*.pc files.

  Jeremy C. Reed

p.s. I also saw some missing PLIST entries -- these are untested though:

Index: x11/qt4-libs/PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/x11/qt4-libs/PLIST,v
retrieving revision 1.4
diff -u -r1.4 PLIST
--- x11/qt4-libs/PLIST	2 Sep 2007 14:48:57 -0000	1.4
+++ x11/qt4-libs/PLIST	2 Dec 2007 02:41:32 -0000
@@ -33,6 +33,7 @@
 @dirrm qt4/include/QtXml
 @dirrm qt4/include/QtSvg
 @dirrm qt4/include/QtSql
+@dirrm qt4/include/QtScript
 @dirrm qt4/include/QtOpenGL
 @dirrm qt4/include/QtNetwork
 @dirrm qt4/include/QtGui
Index: x11/qt4-tools/PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/x11/qt4-tools/PLIST,v
retrieving revision 1.9
diff -u -r1.9 PLIST
--- x11/qt4-tools/PLIST	13 Oct 2007 12:02:15 -0000	1.9
+++ x11/qt4-tools/PLIST	2 Dec 2007 02:41:32 -0000
@@ -368,7 +368,11 @@
 qt4/plugins/designer/libqt3supportwidgets.la
 @dirrm qt4/plugins/designer
 @dirrm qt4/phrasebooks
+@dirrm qt4/mkspecs/win32-borland
 @dirrm qt4/mkspecs/win32-g++
+@dirrm qt4/mkspecs/win32-msvc
+@dirrm qt4/mkspecs/win32-msvc2005
+@dirrm qt4/mkspecs/win32-msvc.net
 @dirrm qt4/mkspecs/unixware-g++
 @dirrm qt4/mkspecs/unixware-cc
 @dirrm qt4/mkspecs/tru64-g++
@@ -419,6 +423,7 @@
 @dirrm qt4/mkspecs/irix-cc
 @dirrm qt4/mkspecs/interix-g++
 @dirrm qt4/mkspecs/hurd-g++
+@dirrm qt4/mkspecs/hpuxi-acc-32
 @dirrm qt4/mkspecs/hpuxi-acc-64
 @dirrm qt4/mkspecs/hpuxi-acc
 @dirrm qt4/mkspecs/hpux-g++-64