mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-30 01:15:52 +00:00
5b4f2ad658
make things a bit more consistent. Approved by: portmgr (bapt)
22 lines
407 B
Makefile
22 lines
407 B
Makefile
# $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 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
|