Subject: Re: imake files on Linux assume GNU make and break build of audio/nas
To: None <>
From: Klaus Heinz <>
List: tech-pkg
Date: 07/23/2006 02:40:58
Min Sik Kim wrote:

> I didn't look at the package, but regarding this question, we already  
> have the following in mk/platform/
> IMAKE_MAKE?=    ${GMAKE}        # program which gets invoked by imake
> IMAKE_TOOLS=            gmake   # extra tools required when we use imake

After updating pkgsrc, I still have bmake in pkgxmkmf and that's no
surprise because in pkgtools/xpkgwedge/Makefile I see:

  SUBST_CLASSES+=         paths
  SUBST_FILES.paths=      ${WRKDIR}/pkgxmkmf
  SUBST_SED.paths+=       -e 's,@PREFIX@,${PREFIX},g'
  SUBST_SED.paths+=       -e 's,@X11BASE@,${X11BASE},g'
  SUBST_SED.paths+=       -e 's,@VIEWBASE@,${VIEWBASE},g'
  SUBST_SED.paths+=       -e 's,@MAKE@,${MAKE},g'

This MAKE is certainly not IMAKE_MAKE.

Ok to change this into:
  SUBST_SED.paths+=       -e 's,@MAKE@,${IMAKE_MAKE},g'