Subject: bmake for pkgxmkmf
To: None <>
From: Jonathan Perkin <>
List: tech-pkg
Date: 07/25/2003 15:55:42

 RCS file: /cvsroot/pkgsrc/pkgtools/xpkgwedge/files/,v
 retrieving revision 1.2
 retrieving revision 1.3
 -    make Makefiles &&
 +    @MAKE@ Makefiles &&

doesn't work for some packages where ${MAKE} is bmake.

 ===> Buildlinking for xpm-3.4knb1
 ===> Configuring for xpm-3.4knb1
 imake -DUseInstalled -I/home/jonp/pkg/lib/X11/config -I/usr/openwin/lib/X11/config
 make Makefiles
 bmake: "/home/jonp/src/pkgsrc/graphics/xpm/work/xpm-3.4k/Makefile" line 295: Unassociated shell command "SERVERMODULES = /usr/openwin/server/modules"
 bmake: "/home/jonp/src/pkgsrc/graphics/xpm/work/xpm-3.4k/Makefile" line 297: Unassociated shell command "SERVERETC = /usr/openwin/server/etc" bmake: Fatal errors encountered -- cannot continue

 bmake: stopped in /home/jonp/src/pkgsrc/graphics/xpm/work/xpm-3.4k
 *** Error code 1

Manually editing pkg/bin/pkgxmkmf back to `make' works fine.

 ===> Configuring for xpm-3.4knb1
 mv -f Makefile Makefile.bak
 imake -DUseInstalled -I/home/jonp/pkg/lib/X11/config -I/usr/openwin/lib/X11/config
 make Makefiles
 making Makefiles in lib...

Unless it hurts hard-coding `make', can we have this switched back
please?  Or does this need doing differently (maybe force a depend
on gmake...)


Jonathan Perkin                             <>
BBC Internet Services