BSD Ports

devel/p5-Devel-CallChecker 0.010 FreeBSD

Custom op checking attached to subroutines

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
919b021f2f
License
ART10, GPLv1+
Categories
devel, perl5
Package size
14.3 KiB, 28.7 KiB installed

Description

Devel::CallChecker makes some new features of the Perl 5.14.0 C API available to XS modules running on older versions of Perl. The features are centred around the function cv_set_call_checker, which allows XS code to attach a magical annotation to a Perl subroutine, resulting in resolvable calls to that subroutine being mutated at compile time by arbitrary C code. This module makes cv_set_call_checker and several supporting functions available. (It is possible to achieve the effect of cv_set_call_checker from XS code on much earlier Perl versions, but it is painful to achieve without the centralised facility.)

Devel::CallCheckerprovides the implementation of the functions at runtime (on Perls where they are not provided by the core). It also, at compile time, supplies the C header file and link library which provide access to the functions. In normal use, "callchecker0_h" and "callchecker_linkable" should be called at build time (not authoring time) for the module that wishes to use the C functions.

In the other systems

SystemPortVersion
FreeBSDdevel/p5-Devel-CallChecker0.010
NetBSDdevel/p5-Devel-CallChecker0.009nb3
DragonFlydevel/p5-Devel-CallChecker0.009
MidnightBSDdevel/p5-Devel-CallChecker0.009
HardenedBSDdevel/p5-Devel-CallChecker0.010
GhostBSDdevel/p5-Devel-CallChecker0.009

Install

Binary package:

pkg install p5-Devel-CallChecker

From the ports tree:

cd /usr/ports/devel/p5-Devel-CallChecker/ && make install clean

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

RUN_DEPENDS=	p5-Devel-CallChecker>0:devel/p5-Devel-CallChecker

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:latest0.0100.0100.0080.0090.010
FreeBSD:14:quarterly0.0100.010n/a0.0090.010
FreeBSD:15:latest0.0100.010n/a0.0090.009
FreeBSD:15:quarterly0.0100.010n/an/an/a
FreeBSD:16:latest0.0100.010n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

Runtime 1

Test 2

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

Build dependencies 3
Run dependencies 2

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 3
  • %%SITE_ARCH%%/Devel/CallChecker.pm
  • %%SITE_ARCH%%/auto/Devel/CallChecker/CallChecker.so
  • %%PERL5_MAN3%%/Devel::CallChecker.3.gz
distinfo 1
FileSizeSHA256
Devel-CallChecker-0.010.tar.gz2127866de557a97a88609f82a0aad9ad3597d1d3333b68e732c9100839e06914dcbe4
Master sites 1
  • CPAN

Commit history 1

DateCommitCreditsLog message
919b021f2f Po-Chuan Hsieh devel/p5-Devel-CallChecker: Update to 0.010
Changes: https://metacpan.org/dist/Devel-CallChecker/changes