svn commit: r346754 - in head/mail/p5-Mail-ClamAV: . files
Mathieu Arnold
mat at FreeBSD.org
Sun Mar 2 10:47:33 UTC 2014
Author: mat
Date: Sun Mar 2 10:47:32 2014
New Revision: 346754
URL: http://svnweb.freebsd.org/changeset/ports/346754
QAT: https://qat.redports.org/buildarchive/r346754/
Log:
- Fix build with Clang [1]
- Convert to staging
Reported by: pkg-fallout, for months [1]
Sponsored by: Absolight
Added:
head/mail/p5-Mail-ClamAV/files/
head/mail/p5-Mail-ClamAV/files/patch-ClamAV.pm (contents, props changed)
Modified:
head/mail/p5-Mail-ClamAV/Makefile
head/mail/p5-Mail-ClamAV/pkg-plist
Modified: head/mail/p5-Mail-ClamAV/Makefile
==============================================================================
--- head/mail/p5-Mail-ClamAV/Makefile Sun Mar 2 09:56:45 2014 (r346753)
+++ head/mail/p5-Mail-ClamAV/Makefile Sun Mar 2 10:47:32 2014 (r346754)
@@ -22,10 +22,4 @@ USE_LDCONFIG= yes
USES= perl5
USE_PERL5= configure
-MAN3= Mail::ClamAV.3
-
-NO_STAGE= yes
-post-install:
- @${CAT} ${PKGMESSAGE}
-
.include <bsd.port.mk>
Added: head/mail/p5-Mail-ClamAV/files/patch-ClamAV.pm
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/mail/p5-Mail-ClamAV/files/patch-ClamAV.pm Sun Mar 2 10:47:32 2014 (r346754)
@@ -0,0 +1,29 @@
+--- ./ClamAV.pm.orig 2009-04-30 01:02:43.000000000 +0200
++++ ./ClamAV.pm 2014-03-02 11:45:39.000000000 +0100
+@@ -286,7 +286,7 @@
+ reclevel = cl_engine_get_num(c->root, CL_ENGINE_MAX_RECURSION, &err);
+ if (err != CL_SUCCESS) {
+ error(err);
+- return;
++ return 0;
+ }
+ return reclevel;
+ }
+@@ -313,7 +313,7 @@
+ maxfiles = cl_engine_get_num(c->root, CL_ENGINE_MAX_FILES, &err);
+ if (err != CL_SUCCESS) {
+ error(err);
+- return;
++ return 0;
+ }
+ return maxfiles;
+ }
+@@ -334,7 +334,7 @@
+ maxfsize = cl_engine_get_num(c->root, CL_ENGINE_MAX_FILESIZE, &err);
+ if (err != CL_SUCCESS) {
+ error(err);
+- return;
++ return 0;
+ }
+ return maxfsize;
+ }
Modified: head/mail/p5-Mail-ClamAV/pkg-plist
==============================================================================
--- head/mail/p5-Mail-ClamAV/pkg-plist Sun Mar 2 09:56:45 2014 (r346753)
+++ head/mail/p5-Mail-ClamAV/pkg-plist Sun Mar 2 10:47:32 2014 (r346754)
@@ -1,3 +1,4 @@
+%%PERL5_MAN3%%/Mail::ClamAV.3.gz
%%SITE_PERL%%/%%PERL_ARCH%%/Mail/ClamAV.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Mail/ClamAV/.packlist
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Mail/ClamAV/ClamAV.bs
More information about the svn-ports-all
mailing list