Override MAKE in CONFIGURE_ENV when USE_GMAKE is set to Yes. Some ports

seem to need this more and more and it makes sense anyway.

tested in a bulk by jasper@, ok espie@
This commit is contained in:
ajacoutot 2010-04-24 09:54:42 +00:00
parent 8f6a3f9a6e
commit 056a331311

View File

@ -1,6 +1,6 @@
#-*- mode: Makefile; tab-width: 4; -*-
# ex:ts=4 sw=4 filetype=make:
# $OpenBSD: bsd.port.mk,v 1.994 2010/04/20 21:00:35 espie Exp $
# $OpenBSD: bsd.port.mk,v 1.995 2010/04/24 09:54:42 ajacoutot Exp $
# $FreeBSD: bsd.port.mk,v 1.264 1996/12/25 02:27:44 imp Exp $
# $NetBSD: bsd.port.mk,v 1.62 1998/04/09 12:47:02 hubertf Exp $
#
@ -336,6 +336,7 @@ USE_GMAKE ?= No
.if ${USE_GMAKE:L} == "yes"
BUILD_DEPENDS += ::devel/gmake
MAKE_PROGRAM = ${GMAKE}
CONFIGURE_ENV += MAKE=${MAKE_PROGRAM}
.else
MAKE_PROGRAM = ${MAKE}
.endif