Marcel Telka
2023-12-25 ff8055029f151fb1d0ca97e7e21b50824fcbf03c
perl/Math-Prime-Util: fix shebang for factor.pl and primes.pl

2 files added
2 files modified
37 ■■■■■ changed files
components/perl/Math-Prime-Util/Makefile 2 ●●● patch | view | raw | blame | history
components/perl/Math-Prime-Util/patches/01-shebang.patch 18 ●●●●● patch | view | raw | blame | history
components/perl/Math-Prime-Util/perl-integrate-module.conf 16 ●●●●● patch | view | raw | blame | history
components/perl/Math-Prime-Util/pkg5 1 ●●●● patch | view | raw | blame | history
components/perl/Math-Prime-Util/Makefile
@@ -20,6 +20,7 @@
COMPONENT_PERL_MODULE =        Math::Prime::Util
HUMAN_VERSION =            0.73
COMPONENT_REVISION =        1
COMPONENT_SUMMARY =        Math::Prime::Util - Utilities related to prime numbers, including fast sieves and factoring
COMPONENT_CPAN_AUTHOR =        DANAJ
COMPONENT_ARCHIVE_HASH =    \
@@ -33,7 +34,6 @@
PERL_REQUIRED_PACKAGES += library/perl-5/math-bigint-gmp
PERL_REQUIRED_PACKAGES += library/perl-5/math-prime-util-gmp
PERL_REQUIRED_PACKAGES += runtime/perl
REQUIRED_PACKAGES += SUNWcs
REQUIRED_PACKAGES += system/library
REQUIRED_PACKAGES += system/library/math
TEST_REQUIRED_PACKAGES.perl += library/perl-5/test-warn
components/perl/Math-Prime-Util/patches/01-shebang.patch
New file
@@ -0,0 +1,18 @@
https://github.com/Perl-Toolchain-Gang/ExtUtils-MakeMaker/issues/58
--- Math-Prime-Util-0.73/bin/primes.pl.orig
+++ Math-Prime-Util-0.73/bin/primes.pl
@@ -1,4 +1,4 @@
-#!/usr/bin/env perl
+#!perl
 use strict;
 use warnings;
 use Getopt::Long;
--- Math-Prime-Util-0.73/bin/factor.pl.orig
+++ Math-Prime-Util-0.73/bin/factor.pl
@@ -1,4 +1,4 @@
-#!/usr/bin/env perl
+#!perl
 use strict;
 use warnings;
 use Getopt::Long;
components/perl/Math-Prime-Util/perl-integrate-module.conf
New file
@@ -0,0 +1,16 @@
#
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL"), version 1.0.
# You may only use this file in accordance with the terms of version
# 1.0 of the CDDL.
#
# A full copy of the text of the CDDL should have accompanied this
# source.  A copy of the CDDL is also available via the Internet at
# http://www.illumos.org/license/CDDL.
#
#
# Copyright 2023 Marcel Telka
#
%patch% 01-shebang.patch
components/perl/Math-Prime-Util/pkg5
@@ -1,6 +1,5 @@
{
    "dependencies": [
        "SUNWcs",
        "library/perl-5/math-bigint-gmp-534",
        "library/perl-5/math-bigint-gmp-536",
        "library/perl-5/math-bigint-gmp-538",