Lines 3-9
Link Here
|
3 |
# Provide support to use the GNU make |
3 |
# Provide support to use the GNU make |
4 |
# |
4 |
# |
5 |
# Feature: gmake |
5 |
# Feature: gmake |
6 |
# Usage: USES=gmake[:lite] |
6 |
# Usage: USES=gmake |
7 |
# |
7 |
# |
8 |
# MAINTAINER: portmgr@FreeBSD.org |
8 |
# MAINTAINER: portmgr@FreeBSD.org |
9 |
|
9 |
|
Lines 11-29
Link Here
|
11 |
_INCLUDE_USES_GMAKE_MK= yes |
11 |
_INCLUDE_USES_GMAKE_MK= yes |
12 |
|
12 |
|
13 |
.if !empty(gmake_ARGS) |
13 |
.if !empty(gmake_ARGS) |
14 |
.if ${gmake_ARGS} == lite |
14 |
IGNORE= Incorrect 'USES+= gmake:${gmake_ARGS}' gmake takes no arguments |
15 |
_GMAKE_EXT= -lite |
|
|
16 |
.else |
17 |
IGNORE= Incorrect 'USES+= gmake:${gmake_ARGS}' gmake has only one valid argument: lite |
18 |
.endif |
19 |
.endif |
20 |
|
21 |
.if defined(DIET) |
22 |
_GMAKE_EXT= -lite |
23 |
.endif |
15 |
.endif |
24 |
|
16 |
|
25 |
BUILD_DEPENDS+= gmake${_GMAKE_EXT}:devel/gmake${_GMAKE_EXT} |
17 |
BUILD_DEPENDS+= gmake:devel/gmake |
26 |
CONFIGURE_ENV+= MAKE=gmake${_GMAKE_EXT} |
18 |
CONFIGURE_ENV+= MAKE=gmake |
27 |
MAKE_CMD= gmake${_GMAKE_EXT} |
19 |
MAKE_CMD= gmake |
28 |
|
20 |
|
29 |
.endif |
21 |
.endif |