Subject: Re: pkg/35289: Build of graphics/xpm fails on Irix with MIPSPro
To: None <irix-pkg-people@NetBSD.org, gnats-admin@netbsd.org,>
From: Fanch <fanch@kekpar.net>
List: pkgsrc-bugs
Date: 12/21/2006 16:05:03
The following reply was made to PR pkg/35289; it has been noted by GNATS.

From: Fanch <fanch@kekpar.net>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/35289: Build of graphics/xpm fails on Irix with MIPSPro
Date: Thu, 21 Dec 2006 17:04:20 +0100

 Joerg Sonnenberger wrote :
 >  > Also, builtin.mk depends on awk non-portable features.
 >  
 >  This part is rejected as pkgsrc now requires a proper awk and installs
 >  it as part of the bootstrap.
 >   
 To me, it doesn't seem using this proper version.
 
 cube$ su - root -c ksh
 # export PATH=/usr/pkg/bin:/usr/pkg/sbin:$PATH
 # echo $PATH
 /usr/pkg/bin:/usr/pkg/sbin:/usr/sbin:/usr/bsd:/sbin:/usr/bin:/etc:/usr/etc:/usr/bin/X11
 # cd /usr/pkg/src/editors/vim-motif
 # bmake show-var VARNAME=AWK
 /usr/bin/nawk
 # ls /usr/pkg/bin/nawk
 /usr/pkg/bin/nawk
 # bmake show-var VARNAME=BUILTIN_VERSION.xpm
 3.4
 #
 
 BUILTIN_VERSION.xpm should be 3.4f
 
 I have a similar problem with grep, native version being used in
 fontconfig, version which doesn't handle -w. To workaround, I
 added the following to fontconfig Makefile:
 
 USE_TOOLS+=             grep:pkgsrc
 _TOOLS_USE_PKGSRC.grep= yes
 
 The second line is not the right thing to do, but if TOOLS_PLATFORM.grep
 is set, it is used inconditionnaly in mk/tools/replace.mk
 But maybe I miss something?
 
 Fanch
 
 
 --