1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

- Use INSTALL_TARGET=install-strip instead of STRIP_CMD

This commit is contained in:
Sunpoet Po-Chuan Hsieh 2015-01-18 22:48:45 +00:00
parent 2902d88841
commit c0bc3e8fb1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=377364

View File

@ -20,6 +20,7 @@ OPTIONS_DEFINE= DOCS
CONFIGURE_ARGS= --enable-uyield
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|-lpthread|-pthread|g; s|-lstdc++ ||g' ${WRKSRC}/configure ${WRKSRC}/doc/spex.html ${WRKSRC}/example/Makefile
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/* ${STAGEDIR}${PREFIX}/lib/libkyototycoon.so.2.19.0 ${STAGEDIR}${PREFIX}/libexec/*.so
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libkyototycoon.so.2.19.0 ${STAGEDIR}${PREFIX}/libexec/*.so
${FIND} ${STAGEDIR}${DOCSDIR}/ -type d -exec ${CHMOD} ${BINMODE} '{}' \;
${FIND} ${STAGEDIR}${DOCSDIR}/ -type f -exec ${CHMOD} ${DOCMODE} '{}' \;