BSD Ports

devel/p5-Task-Weaken 1.06 FreeBSD

Ensure that a platform has weaken support

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ART10, GPLv1+
Categories
devel, perl5
Package size
11.6 KiB, 41.5 KiB installed

Description

One recurring problem in modules that use Scalar::Util's weaken function is that it is not present in the pure-perl variant.

While this isn't necessarily always a problem in a straight CPAN-based Perl environment, some operating system distributions only include the pure-Perl versions, don't include the XS version, and so weaken is then "missing" from the platform, despite passing a dependency on Scalar::Util successfully.

Most notably this is RedHat Linux at time of writing, but other come and go and do the same thing, hence "recurring problem".

The normal solution is to manually write tests in each distribution to ensure that weaken is available.

This restores the functionality testing to a dependency you do once in your Makefile.PL, rather than something you have to write extra tests for each time you write a module.

It should also help make the package auto-generators for the various operating systems play more nicely, because it introduces a dependency that they have to have a proper weaken in order to work.

In the other systems

SystemPortVersion
FreeBSDdevel/p5-Task-Weaken1.06
OpenBSDdevel/p5-Task-Weaken1.06p0
NetBSDdevel/p5-Task-Weaken1.06nb9
DragonFlydevel/p5-Task-Weaken1.06
MidnightBSDdevel/p5-Task-Weaken1.06
HardenedBSDdevel/p5-Task-Weaken1.06
GhostBSDdevel/p5-Task-Weaken1.06

Install

Binary package:

pkg install p5-Task-Weaken

From the ports tree:

cd /usr/ports/devel/p5-Task-Weaken/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-Task-Weaken>0:devel/p5-Task-Weaken

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.061.061.061.061.06
FreeBSD:14:quarterly1.061.06n/a1.061.06
FreeBSD:15:latest1.061.06n/a1.061.06
FreeBSD:15:quarterly1.061.06n/an/an/a
FreeBSD:16:latest1.061.06n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 1
Run dependencies 1
Required by 362

The first 100 are listed.

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 2
  • %%SITE_PERL%%/Task/Weaken.pm
  • %%PERL5_MAN3%%/Task::Weaken.3.gz
distinfo 1
FileSizeSHA256
Task-Weaken-1.06.tar.gz284042383fedb9dbaef646468ea824afbf7c801076720cfba0df2a7a074726dcd66be
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.