devel/p5-Task-Weaken 1.06 MidnightBSD
Ensure that a platform has weaken support
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- artistic, gpl
- Categories
- devel, perl5
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
The newest version among them is 1.06, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| MidnightBSD | devel/p5-Task-Weaken | 1.06 newest | no data | - | [email protected] | - |
| FreeBSD | devel/p5-Task-Weaken | 1.06 newest | none known | - | [email protected] | - |
| OpenBSD | devel/p5-Task-Weaken | 1.06p0 newest | no data | - | The OpenBSD ports mailing-list <[email protected]> | - |
| NetBSD | devel/p5-Task-Weaken | 1.06nb9 newest | none known | - | [email protected] | 2026-07-16 |
| DragonFly | devel/p5-Task-Weaken | 1.06 newest | none known | - | [email protected] | - |
| HardenedBSD | devel/p5-Task-Weaken | 1.06 newest | no data | - | [email protected] | - |
| GhostBSD | devel/p5-Task-Weaken | 1.06 newest | no data | - | [email protected] | - |
Install
Binary package:
mport install p5-Task-Weaken
From mports:
cd /usr/mports/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
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.
Dependencies
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
| File | Size | SHA256 |
|---|---|---|
| Task-Weaken-1.06.tar.gz | 28404 | 2383fedb9dbaef646468ea824afbf7c801076720cfba0df2a7a074726dcd66be |
Master sites 1
- CPAN