Subject: Re: pkg/22506: Not all Linux systems have gmake by default
To: None <>
From: Jeremy C. Reed <>
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
GMAKE?=         ${LOCALBASE}/bin/gmake
_OPSYS_HAS_GMAKE=       no      # Some systems may not have GNU make installed

   Jeremy C. Reed