Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Mar 2014 05:24:57 +0900 (JST)
From:      Yasuhiro KIMURA <yasu@utahime.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/187829: [MAINTAINER] japanese/mecab: strip shared library and etc.
Message-ID:  <20140321202458.0E4DE75942@eastasia.home.utahime.org>
Resent-Message-ID: <201403212030.s2LKU0Jd074560@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140321202458.0E4DE75942>