/[ports]/head/Mk/Uses/ninja.mk
ViewVC logotype

Contents of /head/Mk/Uses/ninja.mk

Parent Directory Parent Directory | Revision Log Revision Log


Revision 411970 - (show annotations) (download)
Sun Mar 27 01:23:25 2016 UTC (8 years, 3 months ago) by bapt
File MIME type: text/plain
File size: 595 byte(s)
Remove the now unneeded ${PORTSDIR} from dependency definition in
The infrastructure Makefiles

PR:		206569
Exp run by:	antoine
Differential Revision:	D5047

1 # $FreeBSD$
2 #
3 # Provide support to use Ninja
4 #
5 # Feature: ninja
6 # Usage: USES=ninja
7 #
8 # User defined variables:
9 # NINJA_VERBOSE - Enable verbose output.
10 #
11 # MAINTAINER: portmgr@FreeBSD.org
12
13 .if !defined(_INCLUDE_USES_NINJA_MK)
14 _INCLUDE_USES_NINJA_MK= yes
15
16 .if !empty(ninja_ARGS)
17 IGNORE= Incorrect 'USES+= ninja:${ninja_ARGS}' ninja takes no arguments
18 .endif
19
20 .if defined(NINJA_VERBOSE)
21 MAKE_ARGS+= -v
22 .endif
23
24 BUILD_DEPENDS+= ninja:devel/ninja
25
26 CMAKE_ARGS+= -GNinja
27 MAKEFILE=
28 MAKE_CMD= ninja
29 MAKE_FLAGS=
30 # Set a minimal job of 1
31 _MAKE_JOBS= -j${MAKE_JOBS_NUMBER}
32 _DESTDIR_VIA_ENV= yes
33
34 .endif

Properties

Name Value
svn:eol-style native
svn:keywords FreeBSD=%H
svn:mime-type text/plain

  ViewVC Help
Powered by ViewVC 1.1.27