2013-07-05 13:32:31 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
# Provide support to use the GNU make
|
|
|
|
#
|
|
|
|
# Feature: gmake
|
2016-07-08 11:24:18 +00:00
|
|
|
# Usage: USES=gmake
|
2013-07-05 13:32:31 +00:00
|
|
|
#
|
2014-03-15 10:31:54 +00:00
|
|
|
# MAINTAINER: portmgr@FreeBSD.org
|
2013-07-05 13:32:31 +00:00
|
|
|
|
|
|
|
.if !defined(_INCLUDE_USES_GMAKE_MK)
|
|
|
|
_INCLUDE_USES_GMAKE_MK= yes
|
|
|
|
|
2014-09-28 16:36:31 +00:00
|
|
|
.if !empty(gmake_ARGS)
|
2016-07-08 11:24:18 +00:00
|
|
|
IGNORE= Incorrect 'USES+= gmake:${gmake_ARGS}' gmake takes no arguments
|
2013-07-05 13:32:31 +00:00
|
|
|
.endif
|
|
|
|
|
2016-07-08 11:24:18 +00:00
|
|
|
BUILD_DEPENDS+= gmake:devel/gmake
|
|
|
|
CONFIGURE_ENV+= MAKE=gmake
|
|
|
|
MAKE_CMD= gmake
|
2013-07-05 13:32:31 +00:00
|
|
|
|
|
|
|
.endif
|