Subject: Re: libtool and koffice
To: None <current-users@NetBSD.org, tech-pkg@NetBSD.org>
From: D'Arcy J.M. Cain <darcy@NetBSD.org>
List: tech-pkg
Date: 11/24/2002 22:37:58
On November 24, 2002 09:05 am, D'Arcy J.M. Cain wrote:
> I am trying to build kontour which builds with koffice if the libart
> library exists.  I get this error which I didn't get when I built it
> without libart.

Thanks to Grant Beattie I have solved this problem.  Seems that building the 
libart2 package by itself is not sufficient.  I had to make the following 
patch to the Makefile in misc/koffice:

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/misc/koffice/Makefile,v
retrieving revision 1.15
diff -u -r1.15 Makefile
--- Makefile    2002/10/08 14:32:57     1.15
+++ Makefile    2002/11/25 02:29:34
@@ -36,6 +36,7 @@
 .include "../../lang/gcc/buildlink2.mk"
 .include "../../textproc/libxml2/buildlink2.mk"
 .include "../../textproc/libxslt/buildlink2.mk"
+.include "../../graphics/libart2/buildlink2.mk"
 .include "../../x11/kde3/buildlink2.mk"
 .include "../../x11/kdebase3/buildlink2.mk"
 .include "../../mk/pthread.buildlink2.mk"

This causes libart2 to be built when koffice is built and sets up the proper 
linking.  I think that this change should be made to the package anyway.  I 
can see someone innocently trying to add libart2 for whatever reason and not 
understanding why koffice fails to build.  They will probably never even make 
the connection.

Anyone see any reason not to just go ahead with this change?  With everything 
that KDE and KOffice pulls in I can't see a problem with this addition.

-- 
D'Arcy J.M. Cain <darcy@netbsd.org>
http://www.NetBSD.org/