diff options
-rw-r--r-- | devel/p5-Config-Objective/Makefile | 2 | ||||
-rw-r--r-- | devel/p5-Config-Objective/files/patch-grammar.yp | 10 |
2 files changed, 11 insertions, 1 deletions
diff --git a/devel/p5-Config-Objective/Makefile b/devel/p5-Config-Objective/Makefile index 39ab315f28f3..4f7a9e0732dc 100644 --- a/devel/p5-Config-Objective/Makefile +++ b/devel/p5-Config-Objective/Makefile @@ -7,7 +7,7 @@ PORTNAME= Config-Objective PORTVERSION= 0.9.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Config diff --git a/devel/p5-Config-Objective/files/patch-grammar.yp b/devel/p5-Config-Objective/files/patch-grammar.yp new file mode 100644 index 000000000000..23a9a1061a60 --- /dev/null +++ b/devel/p5-Config-Objective/files/patch-grammar.yp @@ -0,0 +1,10 @@ +--- ./grammar.yp.orig Tue Nov 15 14:09:30 2005 ++++ ./grammar.yp Tue Nov 15 14:09:51 2005 +@@ -251,6 +251,7 @@ + ### if a previous condition was true + return undef + if ($config->{'in_expr'} ++ && @{$config->{'cond_stack'}} + && $config->{'cond_stack'}->[-1] == CS_NO_EVAL); + + ### for statements, don't evaluate if we're inside a |