aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-Text-Aspell
diff options
context:
space:
mode:
authorSam Lawrance <lawrance@FreeBSD.org>2006-04-05 07:51:44 +0000
committerSam Lawrance <lawrance@FreeBSD.org>2006-04-05 07:51:44 +0000
commit483e91e94fcbc344e04fe838649901dda18aec34 (patch)
tree33d8da202edffe7865cdcefbed86a880c786c683 /textproc/p5-Text-Aspell
parent7974c92cf3c64c8cc6e93df0496380345128f4cc (diff)
downloadports-483e91e94fcbc344e04fe838649901dda18aec34.tar.gz
ports-483e91e94fcbc344e04fe838649901dda18aec34.zip
Patch to remove an accidentally left-in comment which prevents the port
from working. Ignore for perl versions less than 5.6.1. PR: ports/92886 Submitted by: Alex Kapranoff <kappa@rambler-co.ru> Approved by: Lars Eggert <lars.eggert@gmx.net> (maintainer)
Notes
Notes: svn path=/head/; revision=158847
Diffstat (limited to 'textproc/p5-Text-Aspell')
-rw-r--r--textproc/p5-Text-Aspell/Makefile9
-rw-r--r--textproc/p5-Text-Aspell/files/patch-typemap10
2 files changed, 18 insertions, 1 deletions
diff --git a/textproc/p5-Text-Aspell/Makefile b/textproc/p5-Text-Aspell/Makefile
index 8f887e3aaf02..de3da872f6c9 100644
--- a/textproc/p5-Text-Aspell/Makefile
+++ b/textproc/p5-Text-Aspell/Makefile
@@ -7,6 +7,7 @@
PORTNAME= Text-Aspell
PORTVERSION= 0.05
+PORTREVISION= 1
CATEGORIES= textproc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Text
@@ -24,4 +25,10 @@ CONFIGURE_ARGS+=INC=-I${LOCALBASE}/include \
MAN3= Text::Aspell.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500601
+IGNORE= requires perl 5.6.1 or later
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/textproc/p5-Text-Aspell/files/patch-typemap b/textproc/p5-Text-Aspell/files/patch-typemap
new file mode 100644
index 000000000000..ff78abca5876
--- /dev/null
+++ b/textproc/p5-Text-Aspell/files/patch-typemap
@@ -0,0 +1,10 @@
+--- typemap.orig Thu Feb 2 21:07:25 2006
++++ typemap Thu Feb 2 21:07:31 2006
+@@ -17,7 +17,6 @@
+
+ O_OBJECT
+ if( sv_isobject($arg) && (SvTYPE(SvRV($arg)) == SVt_PVMG) )
+-# $var = ($type)SvIV((SV*)SvRV( $arg ));
+ $var = INT2PTR ($type, SvIV (SvRV ($arg)));
+ else{
+ warn( \"${Package}::$func_name() -- $var is not a blessed SV reference\" );