mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
- patching *.pl files to remove deprecated use of defined(%a_hash) statements
- committer is now maintainer PR: ports/164560 Submitted by: Rickie Kerndt <kerndtr@kerndt.com> (maintainer) Approved by: maintainer, gabor (mentor, implicit)
This commit is contained in:
parent
7812b1361d
commit
290a6cd7fb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=290004
@ -7,12 +7,13 @@
|
||||
|
||||
PORTNAME= mhonarc
|
||||
PORTVERSION= 2.6.18
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= www mail
|
||||
MASTER_SITES= http://www.mhonarc.org/release/MHonArc/tar/ \
|
||||
http://www.oac.uci.edu/indiv/ehood/tar/
|
||||
DISTNAME= MHonArc-${PORTVERSION}
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
MAINTAINER= kerndtr@kerndt.com
|
||||
COMMENT= WWW front end for mail archives
|
||||
|
||||
USE_BZIP2= Yes
|
||||
|
11
www/mhonarc/files/patch-lib__mhamain.pl
Normal file
11
www/mhonarc/files/patch-lib__mhamain.pl
Normal file
@ -0,0 +1,11 @@
|
||||
--- ./lib/mhamain.pl.orig 2012-01-16 14:28:02.000000000 -0800
|
||||
+++ ./lib/mhamain.pl 2012-01-16 14:31:22.000000000 -0800
|
||||
@@ -1561,7 +1561,7 @@
|
||||
## Create Index2MsgId if not defined
|
||||
##
|
||||
sub defineIndex2MsgId {
|
||||
- if (!defined(%Index2MsgId)) {
|
||||
+ if (!(%Index2MsgId)) {
|
||||
foreach (keys %MsgId) {
|
||||
$Index2MsgId{$MsgId{$_}} = $_;
|
||||
}
|
11
www/mhonarc/files/patch-lib__mhopt.pl
Normal file
11
www/mhonarc/files/patch-lib__mhopt.pl
Normal file
@ -0,0 +1,11 @@
|
||||
--- ./lib/mhopt.pl.orig 2012-01-16 14:32:41.000000000 -0800
|
||||
+++ ./lib/mhopt.pl 2012-01-16 14:33:10.000000000 -0800
|
||||
@@ -864,7 +864,7 @@
|
||||
##
|
||||
sub update_data_2_1_to_later {
|
||||
# we can preserve filter arguments
|
||||
- if (defined(%main::MIMEFiltersArgs)) {
|
||||
+ if (%main::MIMEFiltersArgs) {
|
||||
warn qq/ preserving MIMEARGS...\n/;
|
||||
%readmail::MIMEFiltersArgs = %main::MIMEFiltersArgs;
|
||||
$IsDefault{'MIMEARGS'} = 0;
|
74
www/mhonarc/files/patch-lib__readmail.pl
Normal file
74
www/mhonarc/files/patch-lib__readmail.pl
Normal file
@ -0,0 +1,74 @@
|
||||
--- ./lib/readmail.pl.orig 2012-01-16 14:33:30.000000000 -0800
|
||||
+++ ./lib/readmail.pl 2012-01-16 14:35:37.000000000 -0800
|
||||
@@ -117,9 +117,9 @@
|
||||
## set to true.
|
||||
|
||||
%MIMEDecoders = ()
|
||||
- unless defined(%MIMEDecoders);
|
||||
+ unless (%MIMEDecoders);
|
||||
%MIMEDecodersSrc = ()
|
||||
- unless defined(%MIMEDecodersSrc);
|
||||
+ unless (%MIMEDecodersSrc);
|
||||
|
||||
## - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
## %MIMECharSetConverters is the associative array for storing functions
|
||||
@@ -153,9 +153,9 @@
|
||||
## string.
|
||||
|
||||
%MIMECharSetConverters = ()
|
||||
- unless defined(%MIMECharSetConverters);
|
||||
+ unless (%MIMECharSetConverters);
|
||||
%MIMECharSetConvertersSrc = ()
|
||||
- unless defined(%MIMECharSetConvertersSrc);
|
||||
+ unless (%MIMECharSetConvertersSrc);
|
||||
|
||||
## - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
## %MIMEFilters is the associative array for storing functions that
|
||||
@@ -180,9 +180,9 @@
|
||||
## that all functions are defined before invoking MAILread_body.
|
||||
|
||||
%MIMEFilters = ()
|
||||
- unless defined(%MIMEFilters);
|
||||
+ unless (%MIMEFilters);
|
||||
%MIMEFiltersSrc = ()
|
||||
- unless defined(%MIMEFiltersSrc);
|
||||
+ unless (%MIMEFiltersSrc);
|
||||
|
||||
## - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
## %MIMEFiltersArgs is the associative array for storing any optional
|
||||
@@ -196,7 +196,7 @@
|
||||
## listed for a function if both are applicable.
|
||||
|
||||
%MIMEFiltersArgs = ()
|
||||
- unless defined(%MIMEFiltersArgs);
|
||||
+ unless (%MIMEFiltersArgs);
|
||||
|
||||
## - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
## %MIMEExcs is the associative array listing which data types
|
||||
@@ -206,7 +206,7 @@
|
||||
## Values => <should evaluate to a true expression>
|
||||
|
||||
%MIMEExcs = ()
|
||||
- unless defined(%MIMEExcs);
|
||||
+ unless (%MIMEExcs);
|
||||
|
||||
## - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
## %MIMEIncs is the associative array listing which data types
|
||||
@@ -220,7 +220,7 @@
|
||||
## be used to only allow a well-defined set of content-types.
|
||||
|
||||
%MIMEIncs = ()
|
||||
- unless defined(%MIMEIncs);
|
||||
+ unless (%MIMEIncs);
|
||||
|
||||
## - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
## %MIMECharsetAliases is a mapping of charset names to charset names.
|
||||
@@ -231,7 +231,7 @@
|
||||
## Values => real charset name
|
||||
##
|
||||
%MIMECharsetAliases = ()
|
||||
- unless defined(%MIMECharsetAliases);
|
||||
+ unless (%MIMECharsetAliases);
|
||||
|
||||
##---------------------------------------------------------------------------
|
||||
## Text entity-related variables
|
Loading…
Reference in New Issue
Block a user