Subject: bonobo libxml version dependancy
To: None <tech-pkg@netbsd.org>
From: Nathan J. Williams <nathanw@MIT.EDU>
List: tech-pkg
Date: 10/07/2001 16:26:41
I recently tried to build something that depended on bonobo, and the
build blew out in the configure stage, complaining that it couldn't
find libxml > 1.8.15. Indeed, I had libxml 1.8.14 installed. It seems
like bonobo should have this package and version dependancy made
explicit, but I'm not terribly confident that I understand the pkg
build system any more. Is this the correct fix?

Among other things, I'm unclear on whether packages should explicitly
list their dependancies, or if it's OK for them to get them indirectly
by depending on other packages that do explicitly depend on them; as
examples, bonobo also depends on glib, gtk, and gnome-libs, but gets
them and their buildlink files indirectly.

        - Nathan

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/devel/bonobo/Makefile,v
retrieving revision 1.18
diff -c -r1.18 Makefile
*** Makefile	2001/10/04 19:14:58	1.18
--- Makefile	2001/10/07 20:15:40
***************
*** 12,17 ****
--- 12,18 ----
  BUILD_DEPENDS+=		bison-[0-9]*:../../devel/bison
  
  BUILDLINK_DEPENDS.ORBit=ORBit>0.5.8
+ BUILDLINK_DEPENDS.libxml=libxml>1.8.15
  
  USE_BUILDLINK_ONLY=	YES
  USE_LIBTOOL=		YES
***************
*** 29,33 ****
--- 30,35 ----
  .include "../../print/gnome-print/buildlink.mk"
  .include "../../devel/popt/buildlink.mk"
  .include "../../devel/oaf/buildlink.mk"
+ .include "../../textproc/libxml/buildlink.mk"
  .include "../../mk/x11.buildlink.mk"
  .include "../../mk/bsd.pkg.mk"