aboutsummaryrefslogtreecommitdiff
path: root/security/p5-Crypt-OpenSSL-X509
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2020-12-19 20:20:42 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2020-12-19 20:20:42 +0000
commit8fac08c6000358736351e2ab3f5d130e1a5809c3 (patch)
tree669f1ce2d73af1b9aea10a3fd7f0ad58b84d840c /security/p5-Crypt-OpenSSL-X509
parent1a68ac59b0fc7cb73fda5c26b661188ea10fc1ae (diff)
downloadports-8fac08c6000358736351e2ab3f5d130e1a5809c3.tar.gz
ports-8fac08c6000358736351e2ab3f5d130e1a5809c3.zip
Update to 1.902
- Convert REINPLACE_CMD to patch file Changes: https://metacpan.org/changes/distribution/Crypt-OpenSSL-X509
Notes
Notes: svn path=/head/; revision=558636
Diffstat (limited to 'security/p5-Crypt-OpenSSL-X509')
-rw-r--r--security/p5-Crypt-OpenSSL-X509/Makefile5
-rw-r--r--security/p5-Crypt-OpenSSL-X509/distinfo6
-rw-r--r--security/p5-Crypt-OpenSSL-X509/files/patch-Makefile.PL16
3 files changed, 20 insertions, 7 deletions
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();