ports/187829: [MAINTAINER] japanese/mecab: strip shared library and etc.
Yasuhiro KIMURA
yasu at utahime.org
Fri Mar 21 20:30:01 UTC 2014
>Number: 187829
>Category: ports
>Synopsis: [MAINTAINER] japanese/mecab: strip shared library and etc.
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Fri Mar 21 20:30:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: Yasuhiro KIMURA
>Release: FreeBSD 10.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD xxxx 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260673: Thu Jan 23 22:36:39 JST
>Description:
- Strip shared library.
- Make PORTDOCS always install to ${STAGEDIR}${DOCSDIR}
Generated with FreeBSD Port Tools 1.00.2014.03.21 (mode: change, diff: SVN)
>How-To-Repeat:
>Fix:
--- ja-mecab-0.996.patch begins here ---
Index: Makefile
===================================================================
--- Makefile (ãªãã¸ã§ã³ 348742)
+++ Makefile (使¥ã³ãã¼)
@@ -29,8 +29,6 @@
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
-
post-patch:
${REINPLACE_CMD} -e 's/-lpthread/${PTHREAD_LIBS}/g' \
-e 's/-O3/${CFLAGS}/' ${WRKSRC}/${CONFIGURE_SCRIPT}.in
@@ -43,10 +41,9 @@
${CHMOD} a+x ${WRKSRC}/install-sh
post-install:
-.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:N*.html:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/*.html ${STAGEDIR}${DOCSDIR}
-.endif
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmecab.so
.include <bsd.port.mk>
--- ja-mecab-0.996.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list