diff options
author | lawrance <lawrance@FreeBSD.org> | 2006-04-05 15:51:44 +0800 |
---|---|---|
committer | lawrance <lawrance@FreeBSD.org> | 2006-04-05 15:51:44 +0800 |
commit | 68cc8e562fe5192a68a44e005ba104e790ea4d69 (patch) | |
tree | c259f5b43fde54afba89e3023897f8b9d998fe0f /textproc | |
parent | 999ae4f72897b99302cb02d9eb16054a14f139a7 (diff) | |
download | freebsd-ports-gnome-68cc8e562fe5192a68a44e005ba104e790ea4d69.tar.gz freebsd-ports-gnome-68cc8e562fe5192a68a44e005ba104e790ea4d69.tar.zst freebsd-ports-gnome-68cc8e562fe5192a68a44e005ba104e790ea4d69.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)
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/p5-Text-Aspell/Makefile | 9 | ||||
-rw-r--r-- | textproc/p5-Text-Aspell/files/patch-typemap | 10 |
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\" ); |