Commit Graph

10 Commits

Author SHA1 Message Date
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
Baptiste Daroussin
8cea2b0147 Readd PORTSDIR for now we will only start removing them after 2016Q1 is branched
This gives more time for tools to get updated, available in packages etc before
bothering users
2015-10-15 07:36:38 +00:00
Baptiste Daroussin
869e1f27d0 Drop the necessity to add ${PORTSDIR} to dependency line
Modify make describe to automatically prepend ${PORTSDIR} if the path for the
port is not absolute

Checked with poudriere, portmaster, portupgrade

PR:		203685
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D3866
2015-10-14 16:49:35 +00:00
Antoine Brodin
35da4891c2 - Make it possible to override _MAKE_JOBS when MAKE_JOBS_NUMBER=1
- Override it for USES=ninja
With this commit and r383571, ports using ninja and waf now respect
MAKE_JOBS_NUMBER when it's equal to 1

PR:		197910
With hat:	portmgr
2015-04-10 05:45:15 +00:00
Tijl Coosemans
fe837ee6c6 Change the way USES is handled:
- Loop over USES twice, once to define all *_ARGS variables and once to
  include Uses/*.mk.  This allows all Uses/*.mk to examine arguments given
  to other USES entries.
- Always define *_ARGS (possibly empty) and replace commas with spaces.

Similar for _USES_POST.

Adjust all Uses/*.mk:
- defined(u_ARGS) becomes !empty(u_ARGS)
- Eliminate helper variables like _*_ARGS=${*_ARGS:C/,/ /g}
- Some Uses/*.mk used ":" as argument separator instead of ",", but no port
  used this form
- Uses/cran.mk: remove unused variable VALID_ARGS and USES+=fortran which
  has no effect
- Uses/twisted.mk: simplify handling of the case where neither "build" nor
  "run" arguments have been specified

PR:		193931
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2014-09-28 16:36:31 +00:00
Gerald Pfeifer
5b4f2ad658 Move MAINTAINER lines to the end of the initial comment block and
make things a bit more consistent.

Approved by:	portmgr (bapt)
2014-03-15 10:31:54 +00:00
Baptiste Daroussin
cf7ff585da Do not overwrite BUILD_DEPENDS
Reported by:	rene
2014-01-08 07:23:14 +00:00
Baptiste Daroussin
d3ffec83d4 Remove bad MAKE_ENV entry (bsd.stage.mk) does the right thing already
That avoid resetting MAKE_ENV

Reported by:	rene
2014-01-07 23:26:52 +00:00
Alberto Villa
0ea687f79f - Convert USES=ninja:verbose into NINJA_VERBOSE make.conf(5) switch.
Approved by:	portmgr (bapt)
2014-01-07 17:55:13 +00:00
Baptiste Daroussin
91e0982833 Add new uses ninja[:verbose]
This allows to use the ninja build system.
USES= cmake ninja
Will make cmake generate ninja files and use ninja.
2014-01-07 08:18:58 +00:00