aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Config-Objective
diff options
context:
space:
mode:
authorAaron Dalton <aaron@FreeBSD.org>2005-11-21 22:30:51 +0000
committerAaron Dalton <aaron@FreeBSD.org>2005-11-21 22:30:51 +0000
commitf39d5d211a2bd30525013961fe25e3e272858446 (patch)
treec653f85f32c704f0f05b5b82582f4cbc8fd71251 /devel/p5-Config-Objective
parentf9a625d694dd3cf422cb204bd8a4ff2a40a89672 (diff)
downloadports-f39d5d211a2bd30525013961fe25e3e272858446.tar.gz
ports-f39d5d211a2bd30525013961fe25e3e272858446.zip
Notes
Diffstat (limited to 'devel/p5-Config-Objective')
-rw-r--r--devel/p5-Config-Objective/Makefile2
-rw-r--r--devel/p5-Config-Objective/files/patch-grammar.yp10
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