blob: 99dc725dd82862347e5f01689ff0749d7f10ba15 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# $FreeBSD$
#
# Provide support to use the legacy FreeBSD make
#
# MAINTAINER: portmgr@FreeBSD.org
#
# Feature: fmake
# Usage: USES=fmake
#
.if !defined(_INCLUDE_USES_FMAKE_MK)
_INCLUDE_USES_FMAKE_MK= yes
.if defined(fmake_ARGS)
IGNORE= Incorrect 'USES+= fmake:${fmake_ARGS}' fmake takes no arguments
.endif
.if defined(.PARSEDIR)
FMAKE= ${LOCALBASE}/bin/fmake
BUILD_DEPENDS+= ${FMAKE}:${PORTSDIR}/devel/fmake
CONFIGURE_ENV+= MAKE=${FMAKE}
MAKE_CMD?= ${FMAKE}
.endif
.endif
|