aboutsummaryrefslogtreecommitdiff
path: root/japanese/mecab
diff options
context:
space:
mode:
authorFUJISHIMA Satsuki <sf@FreeBSD.org>2004-11-22 00:02:56 +0000
committerFUJISHIMA Satsuki <sf@FreeBSD.org>2004-11-22 00:02:56 +0000
commitc1ae1860ba48865e210c8c0fae05c956b38c7260 (patch)
tree89d701ba9c7b26a99f98bfb8ff4f38e8e4eeb586 /japanese/mecab
parentac9683b5c522b2d52e6f60757db2477d3bb6421c (diff)
downloadports-c1ae1860ba48865e210c8c0fae05c956b38c7260.tar.gz
ports-c1ae1860ba48865e210c8c0fae05c956b38c7260.zip
Notes
Diffstat (limited to 'japanese/mecab')
-rw-r--r--japanese/mecab/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/japanese/mecab/Makefile b/japanese/mecab/Makefile
index 35b378b6aa4b..614201e811ac 100644
--- a/japanese/mecab/Makefile
+++ b/japanese/mecab/Makefile
@@ -20,10 +20,13 @@ COMMENT= Yet Another Part-of-Speech and Morphological Analyzer
IPADIC_DISTNAME= ipadic-2.5.1
USE_PERL5_BUILD= yes
+USE_REINPLACE= yes
USE_LIBTOOL_VER=13
INSTALLS_SHLIB= yes
+CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS}"
+
.include "${.CURDIR}/Makefile.common"
MAN1= mecab.1
@@ -53,4 +56,8 @@ post-install:
.endfor
.endif
+post-patch:
+ ${REINPLACE_CMD} -e 's/-lpthread/${PTHREAD_LIBS}/g' \
+ -e 's/-O3/${CFLAGS}/' ${WRKSRC}/${CONFIGURE_SCRIPT}
+
.include <bsd.port.post.mk>