1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00

respect CFLAGS/PTHREAD_CFLAGS/PTHREAD_LIBS.

(maintainer timeout for 2 weeks)
This commit is contained in:
FUJISHIMA Satsuki 2004-11-22 00:02:56 +00:00
parent ac9683b5c5
commit c1ae1860ba
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=122109

View File

@ -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>