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
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/p5-Log-Any-IfLOG | 0.090 |
| DragonFly | devel/p5-Log-Any-IfLOG | 0.090 |
| HardenedBSD | devel/p5-Log-Any-IfLOG | 0.090 |
| GhostBSD | devel/p5-Log-Any-IfLOG | 0.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.090 | 0.090 | 0.090 | 0.090 | 0.090 |
| FreeBSD:14:quarterly | 0.090 | 0.090 | n/a | 0.090 | 0.090 |
| FreeBSD:15:latest | 0.090 | 0.090 | n/a | 0.090 | 0.090 |
| FreeBSD:15:quarterly | 0.090 | 0.090 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.090 | 0.090 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 1
p5-Log-Any>=0: devel/p5-Log-Any
Runtime 1
p5-Log-Any>=0: devel/p5-Log-Any
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
| File | Size | SHA256 |
|---|---|---|
| Log-Any-IfLOG-0.090.tar.gz | 15727 | fe41e6817185c96586136be6ba4b0e1be68ddce61c44ada1f70b11d492706e99 |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.