Subject: pkg/11485: webalizer dependencies are sparse
To: None <gnats-bugs@gnats.netbsd.org>
From: None <briggs@ninthwonder.com>
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
>Closed-Date:
>Last-Modified:
>Originator:     Allen Briggs
>Release:        all
>Organization:
	Ninth Wonder, LLC
>Environment:
System: NetBSD firecat.ninthwonder.com 1.5H NetBSD 1.5H (FIRECAT) #0: Sun Oct 29 00:12:26 EDT 2000 briggs@firecat.ninthwonder.com:/b/netbsd-current/src/sys/arch/i386/compile/FIRECAT i386

>Description:
	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.
>How-To-Repeat:
	see above.
>Fix:
	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 @@
 HOMEPAGE=	http://www.mrunix.net/webalizer/
 
 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
 GNU_CONFIGURE=  yes
 CONFIGURE_ARGS=	--with-gd=${LOCALBASE}/include
 
>Release-Note:
>Audit-Trail:
>Unformatted: