aboutsummaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorOlli Hauer <ohauer@FreeBSD.org>2011-08-27 10:18:44 +0000
committerOlli Hauer <ohauer@FreeBSD.org>2011-08-27 10:18:44 +0000
commitba1a02e4d9ece4a09fb34273ed3f4e75367c35bb (patch)
treee7bad301001fb49869d1785b8b73b0a883f15755 /devel
parentd91f5feda84a62cc6466c80922b5433c40cc66ad (diff)
Notes
Diffstat (limited to 'devel')
-rw-r--r--devel/bugzilla/Makefile1
-rw-r--r--devel/bugzilla/files/patch-Bugzilla__Install__Requirements.pm14
-rw-r--r--devel/bugzilla/pkg-plist2
3 files changed, 16 insertions, 1 deletions
diff --git a/devel/bugzilla/Makefile b/devel/bugzilla/Makefile
index 6fd0367ebbaf..e9a2b582a5ab 100644
--- a/devel/bugzilla/Makefile
+++ b/devel/bugzilla/Makefile
@@ -7,6 +7,7 @@
PORTNAME= bugzilla
PORTVERSION= 4.0.2
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_MOZILLA}
MASTER_SITE_SUBDIR= webtools webtools/archived
diff --git a/devel/bugzilla/files/patch-Bugzilla__Install__Requirements.pm b/devel/bugzilla/files/patch-Bugzilla__Install__Requirements.pm
new file mode 100644
index 000000000000..20d0ca894dfb
--- /dev/null
+++ b/devel/bugzilla/files/patch-Bugzilla__Install__Requirements.pm
@@ -0,0 +1,14 @@
+--- ./Bugzilla/Install/Requirements.pm.orig 2011-08-05 04:25:35.000000000 +0200
++++ ./Bugzilla/Install/Requirements.pm 2011-08-16 08:55:28.000000000 +0200
+@@ -698,8 +698,9 @@
+ # show "ok" or "not found".
+ if (exists $params->{found}) {
+ my $found_string;
+- # We do a string compare in case it's non-numeric.
+- if ($found and $found eq "-1") {
++ # We do a string compare in case it's non-numeric. We make sure
++ # it's not a version object as negative versions are forbidden.
++ if ($found && !ref($found) && $found eq '-1') {
+ $found_string = install_string('module_not_found');
+ }
+ elsif ($found) {
diff --git a/devel/bugzilla/pkg-plist b/devel/bugzilla/pkg-plist
index ebd13b73a8cd..4ec6a4d1e169 100644
--- a/devel/bugzilla/pkg-plist
+++ b/devel/bugzilla/pkg-plist
@@ -970,7 +970,7 @@
@dirrmtry %%WWWDIR%%/js/yui/assets
@dirrmtry %%WWWDIR%%/js/yui/animation
@dirrmtry %%WWWDIR%%/js/yui
-@dirrm %%WWWDIR%%/js
+@dirrmtry %%WWWDIR%%/js
@dirrm %%WWWDIR%%/images
%%CONTRIB%%@dirrm %%WWWDIR%%/contrib/cmdline
%%CONTRIB%%@dirrm %%WWWDIR%%/contrib/bugzilla-submit