Commit graph

8 commits

Author SHA1 Message Date
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
Baptiste Daroussin
9879a38486 Prevent overlinking of libreadline
Everything trying to link to readline is already passing -lreadline when needed
so all that is needed here is to pass the right path where to find it.

Reported by:	peter
2014-07-28 10:22:54 +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
16c627dc09 Now that tinderbox knows how to properly check this, tests on OSVERSIONS are useless, just check is libreadline.so is in base
With hat:	portmgr
2013-11-05 14:26:41 +00:00
John Marino
74db0bce11 Mk/Uses/readline.mk: Restore functionality for DragonFly
For minimal breakage reasons, DragonFly has OSVERSION set to the
equivalent of FreeBSD 99.  When the readline compatibility for FreeBSD
10 was revoked recently, it broke a lot of dports.

Restore the default to how it was before on DragonFly only to restore
those ports using OPSYS.

Approved by:	portmgr (bapt)
2013-09-15 22:15:58 +00:00
Baptiste Daroussin
c79883b220 readline won't be removed in time for 10.0, let 10.0 use readline from base.
PR:		ports/172079
Submitted by:	Jan Beich <jbeich@tormail.org>
2013-09-14 10:59:34 +00:00
Baptiste Daroussin
576ac6ff17 Use new LIB_DEPENDS format 2013-07-29 20:51:23 +00:00
Baptiste Daroussin
71bf80b1e5 Add new USES: ncurses and readline 2013-05-06 15:31:45 +00:00