aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/mecab
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2007-09-08 09:12:10 +0800
committerlinimon <linimon@FreeBSD.org>2007-09-08 09:12:10 +0800
commit9ccc7e92dea72d32d4ae04470bbce43e6f9227da (patch)
tree20264757b2346c435477e3f6cfdf324086bbafe9 /japanese/mecab
parent07d9e093a64a0c7f96ed0775d50e0f818d98fd80 (diff)
downloadfreebsd-ports-graphics-9ccc7e92dea72d32d4ae04470bbce43e6f9227da.tar.gz
freebsd-ports-graphics-9ccc7e92dea72d32d4ae04470bbce43e6f9227da.tar.zst
freebsd-ports-graphics-9ccc7e92dea72d32d4ae04470bbce43e6f9227da.zip
Welcome bsd.perl.mk. Add support for constructs such as USE_PERL5=5.8.0+.
Drop support for antique perl. Work done by: gabor Sponsored by: Google Summer of Code 2007 Hat: portmgr
Diffstat (limited to 'japanese/mecab')
-rw-r--r--japanese/mecab/Makefile6
1 files changed, 1 insertions, 5 deletions
diff --git a/japanese/mecab/Makefile b/japanese/mecab/Makefile
index 19896c6fc9a..dabfda875c3 100644
--- a/japanese/mecab/Makefile
+++ b/japanese/mecab/Makefile
@@ -17,7 +17,7 @@ COMMENT= Yet Another Part-of-Speech and Morphological Analyzer
USE_AUTOTOOLS= libtool:15
USE_ICONV= yes
-USE_PERL5_BUILD= yes
+USE_PERL5_BUILD= 5.8.0+
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
@@ -35,10 +35,6 @@ DOCS= AUTHORS README doc/*.html
.include <bsd.port.pre.mk>
-.if ${PERL_LEVEL} < 500800
-IGNORE= requires perl 5.8.x or later. Install lang/perl5.8 and try again
-.endif
-
post-patch:
${REINPLACE_CMD} -e 's/-lpthread/${PTHREAD_LIBS}/g' \
-e 's/-O3/${CFLAGS}/' ${WRKSRC}/${CONFIGURE_SCRIPT}