aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/Uses/gmake.mk
blob: 9181da8940755a669a75154aedd687a873f4f158 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# $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