Subject: Re: Building NTOP 3.1 fails
To: Jeremy C. Reed <reed@reedmedia.net>
From: Thomas Klausner <wiz@NetBSD.org>
List: tech-pkg
Date: 10/12/2005 09:35:37
On Tue, Oct 11, 2005 at 05:08:10PM -0700, Jeremy C. Reed wrote:
> I found the problem in libgdome.la. ntop depends on gdome2.
> 
> But textproc/gdome2 uses libtool but does not use USE_LIBTOOL=YES.
> 
> I have carbon-copied the maintainer.
> 
> Here is the patch for gdome:
> 
> Index: textproc/gdome2/Makefile
> ===================================================================
> RCS file: /cvsroot/pkgsrc/textproc/gdome2/Makefile,v
> retrieving revision 1.3
> diff -b -u -r1.3 Makefile
> --- textproc/gdome2/Makefile	25 May 2005 09:27:39 -0000	1.3
> +++ textproc/gdome2/Makefile	12 Oct 2005 00:05:19 -0000
> @@ -1,6 +1,7 @@
>  # $NetBSD: Makefile,v 1.3 2005/05/25 09:27:39 adam Exp $
> 
>  DISTNAME=	gdome2-0.8.1
> +PKGREVISION=	1
>  CATEGORIES=	games
>  MASTER_SITES=	http://gdome2.cs.unibo.it/tarball/
> 
> @@ -10,6 +11,7 @@
> 
>  GNU_CONFIGURE=		yes
>  CONFIGURE_ARGS+=	--with-html-dir=${PREFIX}/share/doc/html
> +USE_LIBTOOL=		yes
>  PKGCONFIG_OVERRIDE=	${WRKSRC}/gdome2.pc.in

Looks ok.
Please let ntop then depend on the newer version of gdome2 and
bump its PKGREVISION too.

Thanks,
 Thomas