Subject: Re: pkg/22506: Not all Linux systems have gmake by default
To: None <tech-pkg@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 08/23/2003 18:24:19
On Sat, 23 Aug 2003, Jan Schaumann wrote:
> Let's take this to tech-pkg@, should there be any more discussion,
> though.
This is what I use:
.if exists(/usr/bin/gmake)
GMAKE?= /usr/bin/gmake
_OPSYS_HAS_GMAKE= yes # GNU make is installed
.elif exists(/usr/bin/make)
GMAKE?= /usr/bin/make
_OPSYS_HAS_GMAKE= yes # GNU make is standard for Linux
.else
GMAKE?= ${LOCALBASE}/bin/gmake
_OPSYS_HAS_GMAKE= no # Some systems may not have GNU make installed
.endif
Jeremy C. Reed
http://www.reedmedia.net/