Bug 280625

Summary: [NEW PORT] devel/p5-ExtUtils-HasCompiler: Check for the presence of a compiler
Product: Ports & Packages Reporter: Sergei Vyshenski <svysh.fbsd>
Component: Individual Port(s)Assignee: Vladimir Druzenko <vvd>
Status: Closed FIXED    
Severity: Affects Some People CC: svysh.fbsd, vvd
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
URL: https://metacpan.org/release/LEONT/ExtUtils-HasCompiler-0.025/source/Changes
Attachments:
Description Flags
git format-patch -1 main svysh.fbsd: maintainer-approval+

Description Sergei Vyshenski 2024-08-05 11:47:46 UTC
- This new port is needed as an indirect dependency for 
a new major release of existing port security/p5-Crypt-Argon2
- It checks for the presence of a compiler. And tries to check 
if the current system is capable of compiling, linking and 
loading of an XS module.
https://metacpan.org/release/LEONT/ExtUtils-HasCompiler-0.025/source

- "portlint -AC" is happy.
- "portclippy Makefile" is happy.
- "portfmt -D Makefile" is happy.
- Tested with:
14.1-RELEASE-p2
portlint 2.22.1
portfmt 1.1.5
pkg 1.21.99.2
poudriere-git-3.4.99.20240709
perl 5.36.3_1
openssl 3.0.13
ssl=base
- built-in perl tests in a clean poudriere jail say: PASS.
Comment 1 Sergei Vyshenski 2024-08-05 11:53:47 UTC
Created attachment 252512 [details]
git format-patch -1 main
Comment 2 Vladimir Druzenko freebsd_committer freebsd_triage 2024-08-06 22:12:05 UTC
PORTVERSION => DISTVERSION
Comment 3 commit-hook freebsd_committer freebsd_triage 2024-08-06 22:17:29 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=937e0616ab28410757b592485a14fd91a4b57153

commit 937e0616ab28410757b592485a14fd91a4b57153
Author:     Sergei Vyshenski <svysh.fbsd@gmail.com>
AuthorDate: 2024-08-06 22:15:31 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2024-08-06 22:15:31 +0000

    devel/p5-ExtUtils-HasCompiler: New port: Check for the presence of a compiler

    Check for the presence of a compiler.
    This module tries to check if the current system is capable of
    compiling, linking and loading an XS module.
    https://metacpan.org/dist/ExtUtils-HasCompiler

    PR:     280625

 devel/Makefile                                |  1 +
 devel/p5-ExtUtils-HasCompiler/Makefile (new)  | 19 +++++++++++++++++++
 devel/p5-ExtUtils-HasCompiler/distinfo (new)  |  3 +++
 devel/p5-ExtUtils-HasCompiler/pkg-descr (new) |  3 +++
 devel/p5-ExtUtils-HasCompiler/pkg-plist (new) |  2 ++
 5 files changed, 28 insertions(+)
Comment 4 Vladimir Druzenko freebsd_committer freebsd_triage 2024-08-06 22:17:55 UTC
Thanks.