mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
23 lines
409 B
Makefile
23 lines
409 B
Makefile
# $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
|