Commit graph

66 commits

Author SHA1 Message Date
Mathieu Arnold
407d4441f2 Fix last commit.
Pointy hat to:	mat
Noticed by:	the index breakage notification of portsnap.
Sponsored by:	Absolight
2015-08-31 13:44:48 +00:00
Mathieu Arnold
398dca09df To ease up with future upgrades, move PERL_VERSION into a separate file.
While there, remove 8.4 support, and do some cleanup.

Sponsored by:	Absolight
2015-08-31 13:17:48 +00:00
Mathieu Arnold
148eec3bc0 Convert the post-patch target to use the new target option helpers.
While there, remove some DEBUG handling that is already done in
bsd.port.mk.

Sponsored by:	Absolight
2015-07-21 12:36:08 +00:00
Mathieu Arnold
7397efc8f9 Make Perl behave nicely, and install files 644 and not 444.
With hat:	perl@
Sponsored by:	Absolight
2015-06-29 12:32:41 +00:00
Mathieu Arnold
1631b3fd4c Perl 5.18 will officially be out of active support when 5.22 is released.
perlpolicy(1) states though, that critical patches can be provided for three
years after the .0 release, adjust Perl 5.16's expiration date accordingly.

Sponsored by:	Absolight
2015-05-13 10:37:01 +00:00
Mathieu Arnold
500e6a241e Have perldoc use mandoc before *roff. Also, fix perldoc when using more as a
pager.

Differential Revision:	https://reviews.freebsd.org/D2373
With hat:	perl@
Sponsored by:	Absolight
2015-04-27 14:32:09 +00:00
Mathieu Arnold
ae6d8e2c24 The canonical place to look for Perl is that directory
That's what http://cpan.metacpan.org/src/ says anyway.

Sponsored by:	Absolight
2015-04-15 13:35:43 +00:00
Mathieu Arnold
517ce1af11 Remove old, unused, code.
Sponsored by:	Absolight
2015-04-11 10:45:53 +00:00
Mathieu Arnold
a645f979f5 Patch Perl's header for c++11 compatibility.
While there, drop MASTER_SITE_SUBDIRS.

PR:		199361
Submitted by:	amdmi3
Sponsored by:	Absolight
2015-04-11 10:31:43 +00:00
Mathieu Arnold
bfee655ccf Make Perl build more reproducibly.
Differential Revision:	https://reviews.freebsd.org/D2016
Some bits from:	Jérémy Bobbio <lunar@debian.org>
Sponsored by:	Absolight
2015-04-09 12:21:29 +00:00
Mathieu Arnold
c0b425947d Deorbit PTHREAD_{CFLAGS,LIBS} from Perl, and use -lpthread.
Sponsored by:	Absolight
2015-03-24 17:05:25 +00:00
Mathieu Arnold
0a449ca9e2 Add an upstream patch fixing build with gcc5.
Submitted by:	marino
Sponsored by:	Absolight
2015-03-09 14:26:34 +00:00
Mathieu Arnold
6d96685fc5 Remove BSDPAN from here too.
Sponsored by:	Absolight
2015-01-22 17:27:05 +00:00
Mathieu Arnold
47c19310d4 Use a less kludgy way for handling libperl.so's versionning and linking.
Sponsored by:	Absolight
2014-12-24 17:14:11 +00:00
Mathieu Arnold
316d640e19 Do not let Perl's Configure finds out if it needs to use nm or not. It should
not.  In some case I can't reproduce, it was believing it should, and was
failing badly.

Reported by:	Joe Francia, Scott Loga
Sponsored by:	Absolight
2014-12-22 17:45:56 +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
2efcdc99a9 Retire BSDPAN.
It was never converted to pkg, and starting with Perl 5.18 gives out
annoying warnings.

Differential Revision: https://reviews.freebsd.org/D1318
Reviewed by:	swills
With hat:	perl
Sponsored by:	Absolight
2014-12-17 12:59:30 +00:00
Mathieu Arnold
ccbded4867 One last cleanup, factorize a few things into variables, add a few entries to
PLIST_SUB and SUB_LIST, finish making sure the MANPATH are valid all around.

Differential Revision:	https://reviews.freebsd.org/D1254
Sponsored by:	Absolight
2014-12-02 16:27:00 +00:00
Mathieu Arnold
84a0cdc20e Really disable MULTIPLICITY if disabled in OPTIONS, and as it was always on
before, add it to the OPTIONS_DEFAULT to not change the default behavior.

Noticed by:	ache
Sponsored by:	Absolight
2014-11-29 14:56:26 +00:00
Mathieu Arnold
903832c6e4 Fixup the makewhatis errors.
Sponsored by:	Absolight
2014-11-28 12:43:50 +00:00
Mathieu Arnold
3fd082fa72 /usr/bin/env is in SETENV, not ENV, and sometime, ENV=$USER/.shrc, which of
course, won't work.

Noticed by:	Richard Clayton
Sponsored by:	Absolight
2014-11-27 15:19:51 +00:00
Mathieu Arnold
2b9d2f09c7 Get the man config file right.
Sponsored by:	Absolight
2014-11-27 13:44:08 +00:00
Mathieu Arnold
a8d190efe1 And point man to the new right place.
Sponsored by:	Absolight
2014-11-27 10:00:55 +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
Mathieu Arnold
f291281260 Update to 5.18.4.
Sponsored by:	Absolight
2014-10-17 15:08:23 +00:00
Mathieu Arnold
db57f33c05 Cleanup @dirrm*.
Differential Revision:	https://reviews.freebsd.org/D885
Reviewed by:	bapt
With hat:	perl@
Sponsored by:	Absolight
2014-10-03 12:42:29 +00:00
John Marino
5e065a93b7 lang/perl5*: Remove absolute path to makewhatis in pkg-plist
Generally absolutely paths are not used with @exec in pkg-plist.
In this case, the path /usr/bin/makewhatis doesn't work on DragonFly
where the binary is located at /usr/sbin/makewhatis.  Removing the
full path is a no-op on FreeBSD and fixes perl man page installation
on DragonFly.  No revbump required.

Approved by:	portmgr (bapt)
2014-06-15 12:40:42 +00:00
Mathieu Arnold
efcd879e04 Fix plist orphans
Noticed by:	miwi
Sponsored by:	Absolight
2014-06-12 14:33:28 +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
Kurt Jaeger
15ecc3b4e3 lang/perl5.18: fix warning in Math/BigInt.pm
See also https://rt.cpan.org/Public/Bug/Display.html?id=80182

PR:             ports/185541
Approved-by:    tobez (maintainer timeout), jadawin (mentor)
2014-06-10 09:22:26 +00:00
Dag-Erling Smørgrav
5ac95923a4 Add CPE information.
With hat:	ports-secteam
2014-06-04 16:54:32 +00:00
Mathieu Arnold
d20471ec4f I Forgot to update the CONFLICTS.
Submitted by:	az
Sponsored by:	Absolight
2014-05-27 19:41:58 +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
e78d28a488 Ship Perl with its real licenses, and not the stock ones.
While there, sort the plist according to makeplist.

Sponsored by:	Absolight
2014-05-26 22:55:50 +00:00
Mathieu Arnold
00d505c367 USES=tar:bzip2
Sponsored by:	Absolight
2014-04-07 16:27:14 +00:00
Mathieu Arnold
f8530be769 - Remove temp file on deinstall[1]
- Unshun all installation commands
- Make PREFIX-clean

Poked by:	bdrewery [1]
Sponsored by:	Absolight
2014-03-31 22:26:09 +00:00
Mathieu Arnold
f7946b0a20 Pet portscout.
Sponsored by:	Absolight
2014-03-06 16:32:42 +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
e51a855952 Massive cleanup of the Perl ports:
- Use SUB_FILES instead of own backed version
- Have etc/perl5_version in the package instead of generating a static
  one at install
- Move some mkdirs from pkg-install to pkg-plist
- Move the bin/perl5 creation from plist to post-install

Reviewed by:	az
Sponsored by:	Absolight
2014-02-12 13:46:07 +00:00
Mathieu Arnold
6c7af2915a Remove all NO_LATEST_LINK, all of them have different PKGNAMEs.
Sponsored by:	Absolight
2014-02-11 12:38:32 +00:00
Andrej Zverev
11f6129d7b Partial restore r343675 (leave some warnings/errors output)
Suggested by:	ak@
Reviewed by:	ak@
2014-02-11 10:45:16 +00:00
Andrej Zverev
b1a6dc354f Turn use.perl into silent mode
Reviewed by:	bapt@, mat@
2014-02-10 19:33:05 +00:00
Andrej Zverev
e827ae31d4 PERLIOBUF_DEFAULT_BUFSIZ - new knob for controlling PerlIO buffer size.
Additional information:
 - http://perl5.git.perl.org/perl.git/commit/b83080de5c4254

This change doesn't affect default perl behavior.

Requested by:	Anton Yuzhaninov <ayuzhaninov@openstat.ru>
2014-02-10 10:19:32 +00:00
Mathieu Arnold
e0a8062bb0 Rename patches in the makepatch fashion. 2014-01-11 20:36:18 +00:00
Mathieu Arnold
244b858cf8 Update to 5.18.2. 2014-01-11 20:30:15 +00:00
Mathieu Arnold
87d5641fe7 Add a patch from upstream fixing the parallel builds. 2014-01-07 00:04:20 +00:00
Mathieu Arnold
cc221c9416 Revert r337193, groff needs perl, makes a loop, is bad.
Pointy hat to:	myself
2013-12-22 16:09:43 +00:00
Mathieu Arnold
fb58ceb1d7 Fixup perldoc by using groff from ports. 2013-12-22 15:59:13 +00:00
Mathieu Arnold
9651e58559 Take care of whatis database.
- remove on deinstall
- create on install

PR:		ports/184164
Submitted by:	Tatsuki Makino
2013-11-30 17:28:44 +00:00