Commit graph

57 commits

Author SHA1 Message Date
Mathieu Arnold
898d0049d2 Update Perl 5.20 to 5.20.2.
Poked by:	az
Sponsored by:	Absolight
2015-02-17 15:58:12 +00:00
Rene Ladan
0302c0c1ae Mk/Uses/perl5.mk: Unregister perl5.14 now that the port has expired.
Differential Revision:	https://reviews.freebsd.org/D1368
Approved by:	portmgr (mat), perl (sunpoet)
2014-12-31 16:04:29 +00:00
Mathieu Arnold
b461de3535 Catch other wrong occurences of SITE_PERL and SITE_ARCH.
Sponsored by:	Absolight
2014-12-23 01:42:10 +00:00
Mathieu Arnold
f5a08b399f Fix MANDIRS.
Submitted by:	John Hein
Sponsored by:	Absolight
2014-12-23 01:32:18 +00:00
Mathieu Arnold
64835f0cdc Make Perl link all .so it builds with libperl.so.
It makes upgrading from one Perl major version to another way easier.  For
binary package users, it means pkg upgrade will detect the libperl.so.x.yy
change, and reinstall the affected packages.  For users using ports, it will
save rebuild time as it's easier to detect what ports really need to be
rebuilt.

PR:		195821
Differential Revision: https://reviews.freebsd.org/D1241
Submitted by:	mat
Reviewed by:	antoine, bdrewery
Exp-run by:	antoine
With hat:	perl
Sponsored by:	Absolight
2014-12-17 13:21:56 +00:00
Mathieu Arnold
d29deb1c06 ts=8, repeat after me, ts=8.
With hat:	perl@
Sponsored by:	Absolight
2014-12-16 12:06:40 +00:00
Sunpoet Po-Chuan Hsieh
fc96e70c88 - Use FIND 2014-12-13 04:02:02 +00:00
Mathieu Arnold
4815f5f8ca Use TMPPLIST, not PLIST.
Sponsored by:	Absolight
2014-11-27 13:14:24 +00:00
Mathieu Arnold
aad75afca1 No need to output what this does.
Pointy hat to:	myself
Sponsored by:	Absolight
2014-11-27 10:04:47 +00:00
Mathieu Arnold
8e245f6ddc - Bring back the .packlist files, many people need them, they will
automatically added to the plists.
- Add soname to libperl.so and rename it to libperl.so.PERL_VER, for instance
  libperl.so.5.18. To keep software linked with it working, provide a
  libperl.so symlink.
- Rollback Perl's man page location change, it creates conflicts for the few
  modules that ship with Perl and are in the ports tree.

Sponsored by:	Absolight
2014-11-27 09:57:39 +00:00
Mathieu Arnold
eee58d187e Change the way Perl modules are installed, update the default Perl to 5.18.
Before, we had:

  site_perl :           lib/perl5/site_perl/5.18
  site_perl/perl_arch : lib/perl5/site_perl/5.18/mach
  perl_man3 :           lib/perl5/5.18/man/man3

Now we have:

  site_perl : lib/perl5/site_perl
  site_arch : lib/perl5/site_perl/mach/5.18
  perl_man3 : lib/perl5/site_perl/man/man3

Modules without any .so will be installed at the same place regardless of the
Perl version, minimizing the upgrade when the major Perl version is changed.
It uses a version dependent directory for modules with compiled bits.

As PERL_ARCH is no longer needed in plists, it has been removed from
PLIST_SUB.

The USE_PERL5=fixpacklist keyword is removed, the .packlist file is now
always removed, as is perllocal.pod.

The old site_perl and site_perl/arch directories have been kept in the
default Perl @INC for all Perl ports, and will be phased out as these old
Perl versions expire.

PR:		194969
Differential Revision:	https://reviews.freebsd.org/D1019
Exp-run by:	antoine
Reviewed by:	perl@
Approved by:	portmgr
2014-11-26 13:08:24 +00:00
Sunpoet Po-Chuan Hsieh
dafd91f384 - Update to 0.039
Changes:	http://search.cpan.org/dist/Module-Build-Tiny/Changes
2014-11-24 18:25:39 +00:00
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