From 2906ef0f2f38d1325ac6efcbbd423e1589bdeb13 Mon Sep 17 00:00:00 2001 From: Olli Hauer Date: Mon, 1 Dec 2014 23:19:07 +0000 Subject: - list empty dirs (make qa-script happy) - if PERL_LEVEL >= 501800, then also depend on devel/p5-Module-Pluggable Module::Pluggable from perl5.18 complains about deprection and this way cron job notice is no longer readable - bump PORTREVISION --- devel/bugzilla44/Makefile | 10 +++++++++- devel/bugzilla44/pkg-plist | 6 ++++++ 2 files changed, 15 insertions(+), 1 deletion(-) (limited to 'devel') diff --git a/devel/bugzilla44/Makefile b/devel/bugzilla44/Makefile index f42c84ea8e64..5f8b22e0a122 100644 --- a/devel/bugzilla44/Makefile +++ b/devel/bugzilla44/Makefile @@ -2,6 +2,7 @@ PORTNAME= bugzilla PORTVERSION= 4.4.6 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= BUGZILLA MASTER_SITE_SUBDIR= webtools webtools/archived @@ -41,6 +42,13 @@ EMPTY_DIRS_LIST=data graphs contrib lib t xt .include "${.CURDIR}/Makefile.options" .include +.include +.if ${PERL_LEVEL} >= 501800 +# XXX silence Module::Pluggable deprecated warnings (PR 194782) +BUILD_DEPENDS+= p5-Module-Pluggable>=5.1:${PORTSDIR}/devel/p5-Module-Pluggable +RUN_DEPENDS+= p5-Module-Pluggable>=5.1:${PORTSDIR}/devel/p5-Module-Pluggable +.endif + .if ${PORT_OPTIONS:MMODPERL} USE_APACHE_RUN= 22+ .endif @@ -196,4 +204,4 @@ do-install: .SILENT (cd ${WRKSRC}/contrib && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/contrib) .endif -.include +.include diff --git a/devel/bugzilla44/pkg-plist b/devel/bugzilla44/pkg-plist index 33304311bf03..7b2fe8d3d078 100644 --- a/devel/bugzilla44/pkg-plist +++ b/devel/bugzilla44/pkg-plist @@ -887,3 +887,9 @@ %%WWWDIR%%/whine.pl %%WWWDIR%%/whineatnews.pl %%WWWDIR%%/xmlrpc.cgi +@dir %%WWWDIR%%/contrib +@dir %%WWWDIR%%/data +@dir %%WWWDIR%%/graphs +@dir %%WWWDIR%%/lib +@dir %%WWWDIR%%/t +@dir %%WWWDIR%%/xt -- cgit v1.2.3