Subject: Re: aalib-x11 need curses?, SDL build failed, simple fix included here
To: Jeremy C. Reed <reed@reedmedia.net>
From: Johnny C. Lam <jlam@NetBSD.org>
List: tech-pkg
Date: 11/02/2003 06:59:34
On Sat, Nov 01, 2003 at 05:13:24PM -0800, Jeremy C. Reed wrote:
> 
> Can someone choose if ncurses is allowed?
> 
> If not, may I please commit the final patch (one line fix) at bottom of
> this email? (And behaviour will stay the same as it is currently now.)
[snip]
> 
> Index: graphics/aalib/Makefile.common
> ===================================================================
> RCS file: /cvsroot/pkgsrc/graphics/aalib/Makefile.common,v
> retrieving revision 1.10
> diff -b -u -r1.10 Makefile.common
> --- graphics/aalib/Makefile.common	2003/10/26 06:50:10	1.10
> +++ graphics/aalib/Makefile.common	2003/11/02 01:10:07
> @@ -18,6 +18,8 @@
>  USE_LIBTOOL=		YES
>  LTCONFIG_OVERRIDE=	${WRKSRC}/ltconfig
> 
> +CONFIGURE_ARGS+=	--with-curses-driver=no
> +
>  .if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "arm32"
>  USE_PKGSRC_GCC=		# defined
>  .endif

I want to note that this isn't necessary on machines that don't set
LOCALBASE=/usr.

This is something that you may find yourself fixing many times over
because of the LOCALBASE=/usr issue I noted in another email.  You
may want to invest your energies in the more general fix of making
buildlink work with LOCALBASE=/usr as that was largely why buildlink
was invented in the first place (to avoid lots of these types of
fixes in package Makefiles).

	Cheers,

	-- Johnny Lam <jlam@NetBSD.org>