diff options
author | sf <sf@FreeBSD.org> | 2004-11-22 08:02:56 +0800 |
---|---|---|
committer | sf <sf@FreeBSD.org> | 2004-11-22 08:02:56 +0800 |
commit | 447ecf8b5b7f2dfc75444315ac45eb1c184013df (patch) | |
tree | 8e329abd7296b961e14b02ec967e1266a9250b61 /japanese/mecab | |
parent | f561d75f314b80701802b002e032f92234ecd616 (diff) | |
download | freebsd-ports-gnome-447ecf8b5b7f2dfc75444315ac45eb1c184013df.tar.gz freebsd-ports-gnome-447ecf8b5b7f2dfc75444315ac45eb1c184013df.tar.zst freebsd-ports-gnome-447ecf8b5b7f2dfc75444315ac45eb1c184013df.zip |
respect CFLAGS/PTHREAD_CFLAGS/PTHREAD_LIBS.
(maintainer timeout for 2 weeks)
Diffstat (limited to 'japanese/mecab')
-rw-r--r-- | japanese/mecab/Makefile | 7 |
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> |