From 2902d8884118d702f811d5a79e32f933c0455c68 Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Sun, 18 Jan 2015 22:48:39 +0000 Subject: [PATCH] - Use INSTALL_TARGET=install-strip instead of STRIP_CMD --- databases/kyotocabinet/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/databases/kyotocabinet/Makefile b/databases/kyotocabinet/Makefile index f41be42519e2..096476b0951b 100644 --- a/databases/kyotocabinet/Makefile +++ b/databases/kyotocabinet/Makefile @@ -17,6 +17,7 @@ OPTIONS_DEFINE= DOCS CPPFLAGS+= -fPIC GNU_CONFIGURE= yes +INSTALL_TARGET= install-strip MAKE_ARGS= PCDIR=${PREFIX}/libdata/pkgconfig REINPLACE_ARGS= -i '' USE_LDCONFIG= yes @@ -29,7 +30,7 @@ post-patch: @${REINPLACE_CMD} -e 's|-lstdc++ ||g' ${WRKSRC}/configure ${WRKSRC}/doc/spex.html ${WRKSRC}/example/Makefile ${WRKSRC}/lab/kcdict/Makefile post-install: - ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/* ${STAGEDIR}${PREFIX}/lib/libkyotocabinet.so.16.13.0 + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libkyotocabinet.so.16.13.0 ${FIND} ${STAGEDIR}${DOCSDIR}/ -type d -exec ${CHMOD} ${BINMODE} '{}' \; ${FIND} ${STAGEDIR}${DOCSDIR}/ -type f -exec ${CHMOD} ${DOCMODE} '{}' \;