aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/mecab
diff options
context:
space:
mode:
authorerwin <erwin@FreeBSD.org>2006-05-21 01:07:10 +0800
committererwin <erwin@FreeBSD.org>2006-05-21 01:07:10 +0800
commit64bf01d490c1354cdc0c68b31ec2939f5fdc41fb (patch)
treeeb4f13753830857b1766602ab1716f3db6eafb24 /japanese/mecab
parent3296b52152f59f1b455bb8d7f7d7ddf7e09dcda5 (diff)
downloadfreebsd-ports-gnome-64bf01d490c1354cdc0c68b31ec2939f5fdc41fb.tar.gz
freebsd-ports-gnome-64bf01d490c1354cdc0c68b31ec2939f5fdc41fb.tar.zst
freebsd-ports-gnome-64bf01d490c1354cdc0c68b31ec2939f5fdc41fb.zip
Mark IGNORE for perl < 5.8.0
PR: 97523 Submitted by: TAKATSU Tomonari <tota@rtfm.jp>
Diffstat (limited to 'japanese/mecab')
-rw-r--r--japanese/mecab/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/japanese/mecab/Makefile b/japanese/mecab/Makefile
index 10cf8dd6e3e5..5f846d299239 100644
--- a/japanese/mecab/Makefile
+++ b/japanese/mecab/Makefile
@@ -28,6 +28,12 @@ MAN1= mecab.1
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-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
@@ -41,4 +47,4 @@ post-patch:
${REINPLACE_CMD} -e 's/-lpthread/${PTHREAD_LIBS}/g' \
-e 's/-O3/${CFLAGS}/' ${WRKSRC}/${CONFIGURE_SCRIPT}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>