aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorohauer <ohauer@FreeBSD.org>2014-12-02 07:19:07 +0800
committerohauer <ohauer@FreeBSD.org>2014-12-02 07:19:07 +0800
commit234d91778fab9ab2bc531288520466daccf8ad71 (patch)
tree753d39dbc03fee329698aea84f4fa58fcfd01ef4
parent724a8a29e880249cb1c07d13fa7955e257e59878 (diff)
downloadfreebsd-ports-gnome-234d91778fab9ab2bc531288520466daccf8ad71.tar.gz
freebsd-ports-gnome-234d91778fab9ab2bc531288520466daccf8ad71.tar.zst
freebsd-ports-gnome-234d91778fab9ab2bc531288520466daccf8ad71.zip
- 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
-rw-r--r--devel/bugzilla44/Makefile10
-rw-r--r--devel/bugzilla44/pkg-plist6
2 files changed, 15 insertions, 1 deletions
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 <bsd.port.options.mk>
+.include <bsd.port.pre.mk>
+.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 <bsd.port.mk>
+.include <bsd.port.post.mk>
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