From 8fac08c6000358736351e2ab3f5d130e1a5809c3 Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Sat, 19 Dec 2020 20:20:42 +0000 Subject: Update to 1.902 - Convert REINPLACE_CMD to patch file Changes: https://metacpan.org/changes/distribution/Crypt-OpenSSL-X509 --- security/p5-Crypt-OpenSSL-X509/Makefile | 5 +---- security/p5-Crypt-OpenSSL-X509/distinfo | 6 +++--- security/p5-Crypt-OpenSSL-X509/files/patch-Makefile.PL | 16 ++++++++++++++++ 3 files changed, 20 insertions(+), 7 deletions(-) create mode 100644 security/p5-Crypt-OpenSSL-X509/files/patch-Makefile.PL (limited to 'security/p5-Crypt-OpenSSL-X509') diff --git a/security/p5-Crypt-OpenSSL-X509/Makefile b/security/p5-Crypt-OpenSSL-X509/Makefile index c9ffd501bfe5..256910bcab80 100644 --- a/security/p5-Crypt-OpenSSL-X509/Makefile +++ b/security/p5-Crypt-OpenSSL-X509/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= Crypt-OpenSSL-X509 -PORTVERSION= 1.813 +PORTVERSION= 1.902 CATEGORIES= security perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- @@ -18,9 +18,6 @@ USE_PERL5= configure MAKE_ARGS= PASTHRU_INC=-I${OPENSSLINC} -post-patch: - @${REINPLACE_CMD} -e '/cc_optimize_flags/ s| -Werror||' ${WRKSRC}/Makefile.PL - post-install: ${STRIP_CMD} ${STAGEDIR}${SITE_ARCH}/auto/Crypt/OpenSSL/X509/X509.so diff --git a/security/p5-Crypt-OpenSSL-X509/distinfo b/security/p5-Crypt-OpenSSL-X509/distinfo index 47c4e573cad2..71a0b2747b32 100644 --- a/security/p5-Crypt-OpenSSL-X509/distinfo +++ b/security/p5-Crypt-OpenSSL-X509/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1572266822 -SHA256 (Crypt-OpenSSL-X509-1.813.tar.gz) = 684bd888d2ed4c748f8f6dd8e87c14afa2974b12ee01faa082ad9cfa1e321e62 -SIZE (Crypt-OpenSSL-X509-1.813.tar.gz) = 47966 +TIMESTAMP = 1608366324 +SHA256 (Crypt-OpenSSL-X509-1.902.tar.gz) = 997de045340b6a03eed7b3dcd4f15ec8b2aa0c2de94f367529ec8d33f4324d37 +SIZE (Crypt-OpenSSL-X509-1.902.tar.gz) = 48065 diff --git a/security/p5-Crypt-OpenSSL-X509/files/patch-Makefile.PL b/security/p5-Crypt-OpenSSL-X509/files/patch-Makefile.PL new file mode 100644 index 000000000000..0d7898704242 --- /dev/null +++ b/security/p5-Crypt-OpenSSL-X509/files/patch-Makefile.PL @@ -0,0 +1,16 @@ +--- Makefile.PL.orig 2020-11-05 20:37:56 UTC ++++ Makefile.PL +@@ -18,11 +18,11 @@ inc '-I/usr/local/opt/openssl/include -I/usr/local/inc + libs '-L/usr/local/opt/openssl/lib -L/usr/local/lib -L/usr/lib -L/usr/local/ssl/lib -lcrypto -lssl'; + + if ($Config::Config{myuname} =~ /darwin/i) { +- cc_optimize_flags('-O2 -g -Wall -Werror -Wno-deprecated-declarations'); ++ cc_optimize_flags('-O2 -g -Wall -Wno-deprecated-declarations'); + } elsif ($Config::Config{myuname} =~ /sunos|solaris/i) { + # Any SunStudio flags? + } else { +- cc_optimize_flags('-O2 -g -Wall -Werror'); ++ cc_optimize_flags('-O2 -g -Wall'); + } + + auto_install(); -- cgit v1.2.3