View | Details | Raw Unified | Return to bug 159823
Collapse All | Expand All

(-)Makefile (+1 lines)
Lines 7-12 Link Here
7
7
8
PORTNAME=	bugzilla
8
PORTNAME=	bugzilla
9
PORTVERSION=	4.0.2
9
PORTVERSION=	4.0.2
10
PORTREVISION=	1
10
CATEGORIES=	devel
11
CATEGORIES=	devel
11
MASTER_SITES=	${MASTER_SITE_MOZILLA}
12
MASTER_SITES=	${MASTER_SITE_MOZILLA}
12
MASTER_SITE_SUBDIR=	webtools webtools/archived
13
MASTER_SITE_SUBDIR=	webtools webtools/archived
(-)pkg-plist (-1 / +1 lines)
Lines 970-976 Link Here
970
@dirrmtry %%WWWDIR%%/js/yui/assets
970
@dirrmtry %%WWWDIR%%/js/yui/assets
971
@dirrmtry %%WWWDIR%%/js/yui/animation
971
@dirrmtry %%WWWDIR%%/js/yui/animation
972
@dirrmtry %%WWWDIR%%/js/yui
972
@dirrmtry %%WWWDIR%%/js/yui
973
@dirrm %%WWWDIR%%/js
973
@dirrmtry %%WWWDIR%%/js
974
@dirrm %%WWWDIR%%/images
974
@dirrm %%WWWDIR%%/images
975
%%CONTRIB%%@dirrm %%WWWDIR%%/contrib/cmdline
975
%%CONTRIB%%@dirrm %%WWWDIR%%/contrib/cmdline
976
%%CONTRIB%%@dirrm %%WWWDIR%%/contrib/bugzilla-submit
976
%%CONTRIB%%@dirrm %%WWWDIR%%/contrib/bugzilla-submit
(-)files/patch-Bugzilla__Install__Requirements.pm (+14 lines)
Added Link Here
1
--- ./Bugzilla/Install/Requirements.pm.orig	2011-08-05 04:25:35.000000000 +0200
2
+++ ./Bugzilla/Install/Requirements.pm	2011-08-16 08:55:28.000000000 +0200
3
@@ -698,8 +698,9 @@
4
     # show "ok" or "not found".
5
     if (exists $params->{found}) {
6
         my $found_string;
7
-        # We do a string compare in case it's non-numeric.
8
-        if ($found and $found eq "-1") {
9
+        # We do a string compare in case it's non-numeric. We make sure
10
+        # it's not a version object as negative versions are forbidden.
11
+        if ($found && !ref($found) && $found eq '-1') {
12
             $found_string = install_string('module_not_found');
13
         }
14
         elsif ($found) {

Return to bug 159823