Subject: Re: NetBSD 3.1 - kdegraphics3 problem
To: Greg Evans <gevans@charter.net>
From: Jeremy C. Reed <reed@reedmedia.net>
List: pkgsrc-users
Date: 04/03/2007 18:20:57
On Tue, 3 Apr 2007, Greg Evans wrote:

> Hello
> 
> /usr/pkg/include is indeed a plain file. The contents are as follows (not sure
> if it makes a difference)..Hope this helps someone that knows more than I do
> to help me get it resolved. :)
> 
> Regards,
> 
> Greg
> 
> SunUltra10# cd /usr/pkg/include
> 
> SunUltra10# cd poppler
> poppler: Not a directory.
> 
> SunUltra10# cat poppler
> /* poppler-link.h: qt interface to poppler


Check out the following line:

> > > /usr/bin/install -c -o root -g wheel -m 444
> > > /usr/pkgsrc/print/poppler-qt/work/poppler-0.5.4/qt/poppler-link-qt3.h
> > > /usr/pkg/include/poppler
> > 
> > 
> > Is /usr/pkg/include/poppler a directory or a plain file? Does the
> > directory need to be created?

Please try adding the following line to your Makefile:

diff -u -r1.14 Makefile
--- print/poppler-qt/Makefile	13 Oct 2006 20:25:22 -0000	1.14
+++ print/poppler-qt/Makefile	3 Apr 2007 23:19:46 -0000
@@ -10,6 +10,8 @@
 
 PKGCONFIG_OVERRIDE+=	${WRKSRC}/poppler-qt.pc.in
 
+INSTALLATION_DIRS+=	include/poppler
+
 INCS=-I. -I.. -I../poppler `pkg-config poppler --cflags` -I${QTDIR}/include
 
 do-build:


I didn't test, but that should do it. Please let me know.

  Jeremy C. Reed