freebsd-ports/Mk/Uses/fmake.mk
Baptiste Daroussin 421767bd88 Remove the now unneeded ${PORTSDIR} from dependency definition in
The infrastructure Makefiles

PR:		206569
Exp run by:	antoine
Differential Revision:	D5047
2016-03-27 01:23:25 +00:00

24 lines
468 B
Makefile

# $FreeBSD$
#
# 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
.if defined(.PARSEDIR)
FMAKE= ${LOCALBASE}/bin/fmake
BUILD_DEPENDS+= ${FMAKE}:devel/fmake
CONFIGURE_ENV+= MAKE=${FMAKE}
MAKE_CMD= ${FMAKE}
.endif
.endif