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

22 lines
387 B
Makefile
Raw Normal View History

# $FreeBSD$
#
# Provide support to use the GNU make
#
# Feature: gmake
# Usage: USES=gmake
#
# MAINTAINER: portmgr@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:devel/gmake
CONFIGURE_ENV+= MAKE=gmake
MAKE_CMD= gmake
.endif