blob: 3b69a0be077b8f47dc36081fcd7429fd00549ae6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# $FreeBSD: head/Mk/Uses/fmake.mk 439485 2017-04-26 19:04:30Z ak $
#
# Provide support to use the legacy FreeBSD make
#
# Feature: fmake
# Usage: USES=fmake
#
# MAINTAINER: portmgr@FreeBSD.org
.if !defined(_INCLUDE_USES_FMAKE_MK)
_INCLUDE_USES_FMAKE_MK= yes
.if !empty(fmake_ARGS)
IGNORE= Incorrect 'USES+= fmake:${fmake_ARGS}' fmake takes no arguments
.endif
FMAKE= ${LOCALBASE}/bin/fmake
BUILD_DEPENDS+= ${FMAKE}:devel/fmake
CONFIGURE_ENV+= MAKE=${FMAKE}
MAKE_CMD= ${FMAKE}
.endif
|