Subject: pkg/11485: webalizer dependencies are sparse
To: None <>
From: None <>
List: netbsd-bugs
Date: 11/13/2000 13:19:12
>Number:         11485
>Category:       pkg
>Synopsis:       webalizer dependencies are sparse
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 13 13:19:00 PST 2000
>Originator:     Allen Briggs
>Release:        all
	Ninth Wonder, LLC
System: NetBSD 1.5H NetBSD 1.5H (FIRECAT) #0: Sun Oct 29 00:12:26 EDT 2000 i386

	If one attempts to build webalizer on a relatively pkg-free system,
	it will fail to build.  It requires both Xpm and freetype-lib in
	order to link.
	see above.
	I think the following will do it, but I'm not sure this is entirely
	according to convention, so I submit instead of commit:-)
Index: Makefile
RCS file: /cvsroot/pkgsrc/www/webalizer/Makefile,v
retrieving revision 1.11
diff -u -r1.11 Makefile
--- Makefile	2000/10/18 16:41:23	1.11
+++ Makefile	2000/11/13 21:15:57
@@ -13,10 +13,12 @@
 DEPENDS+=	gd-1.*:../../graphics/gd
+DEPENDS+=       freetype-lib>=1.3.1:../../graphics/freetype-lib
 WRKSRC=		${WRKDIR}/webalizer-2.01-06
 USE_X11=	yes
+USE_XPM=        yes
 CONFIGURE_ARGS=	--with-gd=${LOCALBASE}/include