Subject: Re: [alnsn@yandex.ru: Re: imake and nas on Debian GNU/Linux]
To: None <pkgsrc-users@netbsd.org>
From: Klaus Heinz <k.heinz.mai.sieben@kh-22.de>
List: pkgsrc-users
Date: 05/06/2007 16:52:15
--PEIAKu/WMn1b1Hv9
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Alexander Nasonov wrote:

> Same failure :(
> 
> [ ... skiped ...]
> /usr/bin/make includes
> including in ./include...
> usage: bmake [-BeikNnqrstWX] [-D variable] [-d flags] [-f makefile]
>             [-I directory] [-J private] [-j max_jobs] [-m directory] [-T file]
>             [-V variable] [variable=value] [target ...]
> make: *** [includes] Error 2
> *** Error code 2

Ok, it's a little different than my problem last year.

Deinstall devel/imake and x11/xorg-cf-files, apply the appended patch to 
x11/xorg-cf-files/Makefile, reinstall xorg-cf-files and imake.
Then try again building audio/nas.

ciao
     Klaus


--PEIAKu/WMn1b1Hv9
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="Makefile.diff"

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/x11/xorg-cf-files/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- Makefile	22 Jan 2007 20:33:33 -0000	1.3
+++ Makefile	6 May 2007 14:44:24 -0000
@@ -15,6 +15,8 @@
 
 GNU_CONFIGURE=		yes
 USE_TOOLS+=		pkg-config
+USE_TOOLS.Linux+=	gmake:run
+OPSYSVARS+=		USE_TOOLS
 
 post-extract:
 	${CP} ${FILESDIR}/host.def ${WRKSRC}
@@ -31,7 +33,7 @@
 		${WRKSRC}/${sys}.cf.before > ${WRKSRC}/${sys}.cf
 .endfor
 	${SED} -e "s|@PREFIX@|${PREFIX}|g"		\
-		-e "s|@MAKE@|${MAKE_PROGRAM}|"	${FILESDIR}/host.def > \
+		-e "s|@MAKE@|${IMAKE_MAKE}|"	${FILESDIR}/host.def > \
 		${WRKSRC}/host.def
 
 .include "../../x11/xproto/buildlink3.mk"

--PEIAKu/WMn1b1Hv9--