Subject: Re: pkg/22506: Not all Linux systems have gmake by default
To: None <soren@blef.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 08/16/2003 20:31:39
On Sat, 16 Aug 2003 soren@lothar.blef.org wrote:

> >Number:         22506
> >Category:       pkg
> >Synopsis:       Not all Linux systems have gmake by default

> +.if exists(/usr/bin/make)
>  GMAKE?=		/usr/bin/make
> +_OPSYS_HAS_GMAKE=	yes	# GNU make is standard
> +.else
> +GMAKE?=		${LOCALBASE}/bin/gmake
> +_OPSYS_HAS_GMAKE=	no	# Some custom systems may not have GNU make
> +.endif

This sounds like a good idea.

Then you will have no "make". And you'll start gettings package that won't
build:

 /bin/sh: line 1: make: command not found.

Yesterday, I patched pkgsrc/security/openssl to fix that (PR #pkg/22509).

And this morning, I saw that tcp_wrappers has same problem. (Anyone want
to fix it?)

   Jeremy C. Reed
   http://bsd.reedmedia.net/