summaryrefslogtreecommitdiff
path: root/security/openssl/files/extra-patch-util_process__docs.pl
diff options
context:
space:
mode:
authorBernard Spil <brnrd@FreeBSD.org>2020-01-01 16:42:44 +0000
committerBernard Spil <brnrd@FreeBSD.org>2020-01-01 16:42:44 +0000
commitec9d22cc64ab145058ef25da960430b468b88338 (patch)
tree7e6ca7b1d0639c75be38b4bb5e5bc0ab63b55471 /security/openssl/files/extra-patch-util_process__docs.pl
parentFix build with hdf5 1.10.6 (diff)
security/openssl111: Rename to openssl
- Honoring promise from DEPRECATED message - Unbreak people's builds PR: 243014 MFH: 2020Q1
Diffstat (limited to 'security/openssl/files/extra-patch-util_process__docs.pl')
-rw-r--r--security/openssl/files/extra-patch-util_process__docs.pl20
1 files changed, 20 insertions, 0 deletions
diff --git a/security/openssl/files/extra-patch-util_process__docs.pl b/security/openssl/files/extra-patch-util_process__docs.pl
new file mode 100644
index 000000000000..d81c00d4656f
--- /dev/null
+++ b/security/openssl/files/extra-patch-util_process__docs.pl
@@ -0,0 +1,20 @@
+--- util/process_docs.pl.orig 2018-09-11 12:48:25 UTC
++++ util/process_docs.pl
+@@ -43,7 +43,7 @@ GetOptions(\%options,
+ );
+
+ unless ($options{section}) {
+- $options{section} = [ 1, 3, 5, 7 ];
++ $options{section} = [ 1, 5 ];
+ }
+ unless ($options{sourcedir}) {
+ $options{sourcedir} = catdir($config{sourcedir}, "doc");
+@@ -98,7 +98,7 @@ foreach my $section (sort @{$options{sec
+ my $suffix = { man => ".$podinfo{section}".($options{suffix} // ""),
+ html => ".html" } -> {$options{type}};
+ my $generate = { man => "pod2man --name=$name --section=$podinfo{section} --center=OpenSSL --release=$config{version} \"$podpath\"",
+- html => "pod2html \"--podroot=$options{sourcedir}\" --htmldir=$updir --podpath=man1:man3:man5:man7 \"--infile=$podpath\" \"--title=$podname\" --quiet"
++ html => "pod2html \"--podroot=$options{sourcedir}\" --htmldir=$updir --podpath=man1:man5 \"--infile=$podpath\" \"--title=$podname\" --quiet"
+ } -> {$options{type}};
+ my $output_dir = catdir($options{destdir}, "man$podinfo{section}");
+ my $output_file = $podname . $suffix;