pkgsrc/devel/p5-Module-ScanDeps/Makefile
wen ff3c4241c5 Update to 1.27
Upstream changes:
1.27  2019-01-15

- fixes by Shawn Laffan <shawnlaffan@gmail.com>
  - Process lines like "{ package foo; use if 1, "warnings"; } (#8)
  - Also handle 'do {use module; ...}'

- some clean ups
  - scandeps.pl: sort output by module name
  - add_deps(): use _gettype() instead of inline code
  - _compile_or_execute(): require DynaLoader _before_ accessing
    its variables
  - t/7-check-dynaloader.t: improve diagnostics

- drop Cwd from the list of potential XS modules

- suppress warnings in some ancient Perls

1.26  2018-12-12

- Glue DLLs of XS modules should have type "shared" rather than "data"

  Detection broke on Windows where nowadays $Config{dlext} = "xs.dll"
  (i.e. it's not a simple suffix)

- Mention some other modules: Module::ExtractUse and Perl::PrereqScanner::* family

- Add %Preload rules for:
  - JSON::MaybeXS
  - HTTP::Entity::Parser
  - FFI::Platypus
2019-01-26 07:48:24 +00:00

24 lines
752 B
Makefile

# $NetBSD: Makefile,v 1.47 2019/01/26 07:48:24 wen Exp $
DISTNAME= Module-ScanDeps-1.27
PKGNAME= p5-${DISTNAME}
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Module/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://search.cpan.org/dist/Module-ScanDeps/
COMMENT= Perl 5 module to recursively scan Perl code for dependencies
LICENSE= ${PERL5_LICENSE}
# TEST_DEPENDS
BUILD_DEPENDS+= p5-Test-Pod-[0-9]*:../../devel/p5-Test-Pod
BUILD_DEPENDS+= p5-Test-Requires-[0-9]*:../../devel/p5-Test-Requires
BUILD_DEPENDS+= p5-prefork-[0-9]*:../../devel/p5-prefork
USE_LANGUAGES= # empty
PERL5_PACKLIST= auto/Module/ScanDeps/.packlist
REPLACE_PERL+= script/scandeps.pl
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"