freebsd-ports/Mk/Uses/gmake.mk

20 lines
379 B
Makefile
Raw Normal View History

# Provide support to use the GNU make
#
# Feature: gmake
# Usage: USES=gmake
#
# MAINTAINER: tijl@FreeBSD.org
.if !defined(_INCLUDE_USES_GMAKE_MK)
_INCLUDE_USES_GMAKE_MK= yes
. if !empty(gmake_ARGS)
IGNORE= Incorrect 'USES+= gmake:${gmake_ARGS}' gmake takes no arguments
. endif
BUILD_DEPENDS+= gmake>=4.3:devel/gmake
CONFIGURE_ENV+= MAKE=gmake
MAKE_CMD= gmake
.endif