Commit graph

45 commits

Author SHA1 Message Date
Mathieu Arnold
6be72a854b Introduce the SITE_ARCH variable containing SITE_PERL/PERL_ARCH.
With hat:	perl@, portmgr@
Sponsored by:	Absolight
2014-11-18 13:45:56 +00:00
Mathieu Arnold
906630d192 And remember to bump versions here too.
Sponsored by:	Absolight
2014-10-17 22:04:25 +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
Matthias Andree
008fe1b949 Fix shell commands in fix-packlist,
A. avoiding a bogus *** Error code 1 (ignored) on ports that
1. set at least one of the configure, modbuildtiny, or fixpacklist options
   to USES_PERL5=..., AND
2. do not create/install into
   ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/${PERL_ARCH}/auto

B. no longer masking ${FIND} trouble through the leading - on the
   Makefile commands.

PR:		193934
Approved by:	portmgr (bdrewery)
2014-09-25 20:38:32 +00:00
Sunpoet Po-Chuan Hsieh
3dff6f4096 - Update to 0.038
Changes:	http://search.cpan.org/dist/Module-Build-Tiny/Changes
2014-09-08 16:21:28 +00:00
Sunpoet Po-Chuan Hsieh
90038a12c7 - Fix typo 2014-08-18 12:45:10 +00:00
Mathieu Arnold
a4ed4cb68b Module::Build installs the empty bootstrap files, even with Perl 5.20, so
remove the .if and always search and delete them.

Noticed by:	pi
Sponsored by:	Absolight
2014-08-18 12:29:06 +00:00
Kurt Jaeger
ebd71b456c revert r365227 to allow discussion 2014-08-17 19:36:31 +00:00
Kurt Jaeger
4217bc67cd Mk/Uses/perl5.mk: Fix logic for removal of empty .bs files 2014-08-17 19:32:18 +00:00
Sunpoet Po-Chuan Hsieh
a7abdeb20e - Update to 0.037
Changes:	http://search.cpan.org/dist/Module-Build-Tiny/Changes
2014-07-28 15:50:22 +00:00
Yen-Ming Lee
1f78956cba - update Module-Build to 0.4206 2014-07-15 06:19:31 +00:00
Mathieu Arnold
61de712f46 Remove all the bootstrap files (.bs) from the plists.
Starting with perl 5.20, they're not installed any more if empty,
and on FreeBSD, they're (always ?) empty.

PR:		190681
Submitted by:	mat
Exp-Run by:	antoine
Sponsored by:	Absolight
2014-06-10 12:14:12 +00:00
Sunpoet Po-Chuan Hsieh
0449f732c3 - Ensure up-to-date p5-Module-Build and p5-Module-Build-Tiny to avoid build
failure if installed ones do not satisfy version requirement of ports
2014-06-09 07:10:24 +00:00
Sunpoet Po-Chuan Hsieh
63bf70a31c - Cleanup COMMENT 2014-06-09 06:25:31 +00:00
Mathieu Arnold
886c83c618 Apply a band-aid on Perl ports plists for perl 5.20.
This is not the right fix, but with this, we can move forward.

With hat:	perl@, portmgr
Sponsored by:	Absolight
2014-06-02 08:48:13 +00:00
Mathieu Arnold
ca7f62bffc Add perl 5.20.0.
Changes:	http://search.cpan.org/dist/perl-5.20.0/pod/perldelta.pod
Sponsored by:	Absolight
2014-05-27 12:19:24 +00:00
Mathieu Arnold
2be2a7308c SITE_PERL is relative to LOCALBASE, switch to PREFIX for the post-stage fixups.
PR:		ports/189694
Submitted by:	Paul J Murphy
Sponsored by:	Absolight
2014-05-25 20:58:14 +00:00
Mathieu Arnold
2686164bfb - Add a USE_PERL5=fixpacklist to account for ports creating one when not using
USE_PERL5=configure or USE_PERL5=modbuildtiny.
- Change perl5.mk to use a specific target and not abuse post-stage.

Reviewed by:	bapt
With Hat:	portmgr
Sponsored by:	Absolight
2014-05-25 11:37:28 +00:00
Baptiste Daroussin
c4abcef202 Drop support for non staged perl ports 2014-04-09 09:53:09 +00:00
Rene Ladan
283b661902 Tell the configure scripts to use ${PERL} for PERL_PATH, this fixes
e.g. devel/libbonobo

Approved by:	portmgr (bapt)
2014-04-04 11:29:07 +00:00
Baptiste Daroussin
9b2e4e8528 When USES=perl5 is localed (what ever run or build depend) define a cache variable so autoconf always pick up the version from localbase
This eliminate a lot of perl related Q/A warnings
2014-03-30 14:58:51 +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
Sunpoet Po-Chuan Hsieh
74e93dfa15 - Check test: 2014-03-13 15:08:21 +00:00
Sunpoet Po-Chuan Hsieh
d2c4f34737 - Add regression-test: for all USES=perl5 ports
Approved by:	mat (portmgr)
Tested by:	sunpoet (myself, almost 2 years)
2014-03-12 18:49:03 +00:00
Mathieu Arnold
286e8eceee Like it was announced six months ago, remove Perl 5.12.
Sponsored by:	Absolight
2014-02-14 15:41:50 +00:00
Mathieu Arnold
7865eb5a5f Add a note to people still running perl 5.12 that it's going to disapear soon.
Sponsored by:	Absolight
2014-02-03 10:39:28 +00:00
Baptiste Daroussin
564119fde5 Only defines the post-stage when needed 2014-01-27 00:02:42 +00:00
Mathieu Arnold
79d55b4d7c Bump perl version here too. 2014-01-11 21:37:10 +00:00
Sunpoet Po-Chuan Hsieh
166d24f12c - Use leading "-" to ignore exit status instead of trailing "|| ${TRUE}"
Suggested by:	mat
2013-10-27 17:35:52 +00:00
Sunpoet Po-Chuan Hsieh
e018bc8aeb - Add missing || ${TRUE} 2013-10-25 07:53:24 +00:00
Sunpoet Po-Chuan Hsieh
c69aa3b0c1 - Fix .packlist only when ${STAGEDIR}${SITE_PERL}/${PERL_ARCH}/auto exists
Reported by:	John Marino <freebsd.contact@marino.st>
2013-10-23 17:47:31 +00:00
Sunpoet Po-Chuan Hsieh
fe67692ab3 - Cosmetic change:
- Reorder knobs
  - Indent using tabstop=4
2013-10-20 08:29:15 +00:00
Sunpoet Po-Chuan Hsieh
1ffcb16a96 - Add staging support for USE_PERL5=modbuild*
- Remove STAGEDIR prefix from .packlist
2013-10-19 19:11:19 +00:00
Sunpoet Po-Chuan Hsieh
5d3ab38411 - Minor cleanup for PERL5_MAN* and P5MAN*
- perl.mk changes MAN3PREFIX only therefore we keep *MAN3 setting
  - PERL5_MAN[124-9] point to non-existence directories

Submitted by:	sunpoet
Reviewed by:	az
2013-09-26 15:52:38 +00:00
Sunpoet Po-Chuan Hsieh
2861467a4a - Remove trailing slash
Approved by:	bapt (via IRC)
2013-09-23 20:29:11 +00:00
Baptiste Daroussin
b7af6146d2 Introduce a new MANDIRS macros to make the compress-man determine where the makefiles should be found
Previous implementation was based on etc/man.d which doesn't exists in FreeBSD 8.
By default MANDIRS is ${MANPREFIX}/man. if a port adds USES=perl5 then the perl default locations is added

Reviewed by:	bdrewery
2013-09-23 20:07:18 +00:00
Baptiste Daroussin
611a27dced Simplify notation of perl man page path in pkg-plist when staged
Submitted by:	az
2013-09-23 15:44:20 +00:00
Baptiste Daroussin
785d744f1f Add a new PERL_MANDIR substitution pattern to PLIST_SUB to easier staging p5- ports
Approved by:	perl (az)
2013-09-23 05:34:18 +00:00
Baptiste Daroussin
377fc0342d Introduce the one-true-way to handle multi version ports
This defines a new macros for end users!
DEFAULT_VERSIONS.
This macros is used to end-users to define what version they want to be
the default version for the whole ports tree (for ports allowing that)

Syntax is the following:
DEFAULT_VERSIONS=	perl5=5.18 ruby=2.0

Swith bsd.ruby.mk to use it[1], switch Uses/perl5.mk to use it[2]

If you are maintaining settable multi version port, please change it so
it uses DEFAULT_VERSIONS.

Reviewed by:	ruby (swills) [1], perl (az) [2]
Approved by:	ruby (swills) [1], perl (az) [2]
2013-09-19 08:16:43 +00:00
Andrej Zverev
28a6974148 - Fix things after recent modbuildtiny commit
Reviewed by:	bapt@
Kudos to: 	bapt@
2013-09-04 16:54:39 +00:00
Mathieu Arnold
687a70b642 * Add devel/p5-Module-Build-Tiny support to USE_PERL5 with modbuildtiny.
* Add doc for the configure, modbuild and modbuildtiny options.

Reviewed by:	az, bapt
Approved by:	az, bapt
2013-09-04 13:11:02 +00:00
Sunpoet Po-Chuan Hsieh
b31d1ef612 - Sync comment with default PERL_VERSION 2013-08-22 17:09:46 +00:00
Mathieu Arnold
3ffb70faa9 And actually allow people to continue using ports.
Submitted by:	az
2013-08-13 13:45:16 +00:00
Mathieu Arnold
5647074878 Introduce Perl 5.18.1
Changes:        http://search.cpan.org/dist/perl-5.18.0/pod/perldelta.pod
Changes:        http://search.cpan.org/dist/perl-5.18.1/pod/perldelta.pod
2013-08-13 13:04:55 +00:00
Baptiste Daroussin
27b5677573 New USES= perl5
Deprecate and replaces bsd.perl.mk, it adds more consistency:
only USE_PERL5 is needed to define all expected behaviour.

USE_PERL5 accept the following arguments:
Version: like 5.14+
- configure (formerly PERL_CONFIGURE=yes)
- run (formerly USE_PERL5_RUN=yes)
- build (formerly USE_PERL5_BUILD=yes)
- patch (only use perl as a patch dependency)
- extract (only use perl as an extract dependency)
- modbuild (formerly PERL_MODBUILD)

It has the new
P5MAN{1,2,3,4,5,6,7,8} macros equivalent to MAN{1,....} but depending on the perl path.

Reviewed by:	az
Thanks to:	az
2013-07-31 06:29:25 +00:00