Subject: Re: sysutils/whowatch: avoid depend to ncurses (PR 10816)
To: Jun-ichiro itojun Hagino <itojun@itojun.org>
From: Johnny C. Lam <lamj@stat.cmu.edu>
List: tech-pkg
Date: 08/11/2000 15:51:20
Jun-ichiro itojun Hagino <itojun@itojun.org> writes:
> Index: Makefile
> ===================================================================
> RCS file: /cvsroot/pkgsrc/sysutils/whowatch/Makefile,v
> retrieving revision 1.1.1.1
> diff -u -r1.1.1.1 Makefile
> --- Makefile	2000/06/12 16:20:53	1.1.1.1
> +++ Makefile	2000/08/11 13:21:33
> @@ -9,9 +9,15 @@
>  MAINTAINER=	rh@netbsd.org
>  HOMEPAGE=	http://wizard.ae.krakow.pl/~mike/\#whowatch
>  
> -DEPENDS+=	ncurses-*:../../devel/ncurses
> +# ncurses is not required any more
> +#
> +#DEPENDS+=	ncurses-*:../../devel/ncurses
> +BUILD_DEPENDS=	autoreconf:../../devel/autoconf
>  
>  GNU_CONFIGURE=	YES
>  CONFIGURE_ENV+=	CFLAGS="${CFLAGS} -I${PREFIX}/include"
> +
> +pre-configure:
> +	(cd ${WRKSRC}; autoreconf)
>  
>  .include "../../mk/bsd.pkg.mk"

This part should be reworked to use the GOOD_CURSES stuff recently
added to bsd.pkg.mk.  There some documentation in Packages.txt, and
some examples in mail/mutt and misc/dialog.

Otherwise, I think applying the patch is a great idea.

     -- Johnny C. Lam <lamj@stat.cmu.edu>
        Department of Statistics, Carnegie Mellon University
        http://www.stat.cmu.edu/~lamj/