1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00
freebsd-ports/Mk/Uses/gmake.mk

23 lines
409 B
Makefile
Raw Normal View History

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