aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--japanese/p5-Text-MeCab/Makefile5
-rw-r--r--japanese/p5-Text-MeCab/distinfo6
-rw-r--r--japanese/p5-Text-MeCab/files/patch-Makefile.PL19
3 files changed, 23 insertions, 7 deletions
diff --git a/japanese/p5-Text-MeCab/Makefile b/japanese/p5-Text-MeCab/Makefile
index ea1e4ad1d35a..e5b9aa3cc3e0 100644
--- a/japanese/p5-Text-MeCab/Makefile
+++ b/japanese/p5-Text-MeCab/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= Text-MeCab
-PORTVERSION= 0.20004
+PORTVERSION= 0.20007
CATEGORIES= japanese textproc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Text
@@ -30,9 +30,6 @@ post-patch:
@${REINPLACE_CMD} -e "/default_encoding = /s/utf-8/${ENCODING}/" \
${WRKSRC}/tools/probe_mecab.pl
- # To prevent CCFLAGS value from being overwritten by the ports system
- @${REINPLACE_CMD} -e "s|CCFLAGS|INC|g" ${WRKSRC}/Makefile.PL
-
.include <bsd.port.pre.mk>
PKGNAMEPREFIX:= ${PKGNAMEPREFIX}p5-
diff --git a/japanese/p5-Text-MeCab/distinfo b/japanese/p5-Text-MeCab/distinfo
index 952b790bcbfe..e36904fa05e8 100644
--- a/japanese/p5-Text-MeCab/distinfo
+++ b/japanese/p5-Text-MeCab/distinfo
@@ -1,3 +1,3 @@
-MD5 (Text-MeCab-0.20004.tar.gz) = 304468a5a07924e4575d66d3fb7be7b0
-SHA256 (Text-MeCab-0.20004.tar.gz) = 0ed0c9625a833484823f0d3f076f4a3d177a78271c979f9b7abc3a271dbd6fd0
-SIZE (Text-MeCab-0.20004.tar.gz) = 57802
+MD5 (Text-MeCab-0.20007.tar.gz) = 69c4ddab7866f45c5813359bffbbbaa3
+SHA256 (Text-MeCab-0.20007.tar.gz) = f2d0b25bb3016305b769da20ad545de5b9b86892f6eb9c3a23fabab53e8b4143
+SIZE (Text-MeCab-0.20007.tar.gz) = 62275
diff --git a/japanese/p5-Text-MeCab/files/patch-Makefile.PL b/japanese/p5-Text-MeCab/files/patch-Makefile.PL
new file mode 100644
index 000000000000..d24e73596662
--- /dev/null
+++ b/japanese/p5-Text-MeCab/files/patch-Makefile.PL
@@ -0,0 +1,19 @@
+--- Makefile.PL.orig 2008-03-08 20:51:04.000000000 +0900
++++ Makefile.PL 2008-03-13 05:47:28.000000000 +0900
+@@ -129,7 +129,6 @@
+
+
+ my $config = run_probes();
+- check_lib($config);
+ define_symbols($config);
+ extract_constants($config);
+
+@@ -137,7 +136,7 @@
+ my %INFO = (
+ ABSTRACT => 'Alternative Interface To libmecab',
+ AUTHOR => 'Daisuke Maki <daisuke@endeworks.jp>',
+- CCFLAGS => $config->{cflags},
++ INC => $config->{cflags},
+ DEFINE => join( " ", @{ $config->{define} } ),
+ DISTNAME => 'Text-MeCab',
+ INSTALLDIRS => 'site',