BSD Ports

devel/p5-Log-Any-IfLOG 0.090 FreeBSD

Load Log::Any only if LOG environment variable is true

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

Description

Log::Any::IfLOG will load Log::Any only when LOG environment variable is true. Otherwise, the module is not loaded and if user imports $log, a dumb object will be returned instead that will accept any method but return false.

This is a quick-hack solution to avoid the cost of loading Log::Any under "normal condition" (when LOG is not set to true).

In the other systems

SystemPortVersion
FreeBSDdevel/p5-Log-Any-IfLOG0.090
DragonFlydevel/p5-Log-Any-IfLOG0.090
HardenedBSDdevel/p5-Log-Any-IfLOG0.090
GhostBSDdevel/p5-Log-Any-IfLOG0.090

Install

Binary package:

pkg install p5-Log-Any-IfLOG

From the ports tree:

cd /usr/ports/devel/p5-Log-Any-IfLOG/ && make install clean

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

RUN_DEPENDS=	p5-Log-Any-IfLOG>0:devel/p5-Log-Any-IfLOG

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.0900.0900.0900.0900.090
FreeBSD:14:quarterly0.0900.090n/a0.0900.090
FreeBSD:15:latest0.0900.090n/a0.0900.090
FreeBSD:15:quarterly0.0900.090n/an/an/a
FreeBSD:16:latest0.0900.090n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

Runtime 1

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

Build dependencies 2
Run dependencies 2
Required by 1

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 2
  • %%SITE_PERL%%/Log/Any/IfLOG.pm
  • %%PERL5_MAN3%%/Log::Any::IfLOG.3.gz
distinfo 1
FileSizeSHA256
Log-Any-IfLOG-0.090.tar.gz15727fe41e6817185c96586136be6ba4b0e1be68ddce61c44ada1f70b11d492706e99
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.